ASoC: rockchip: rockchip_i2s: Drop redundant probe error messages

Remove the probe error messages to avoid duplicate error reporting,
since the error is already reported by the called functions.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260806052136.21034-5-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
bui duc phuc 2026-08-06 12:21:26 +07:00 committed by Mark Brown
parent b5e4b11597
commit c1bf7ae0c8
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -829,16 +829,12 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
&rockchip_i2s_component,
dai, 1);
if (ret) {
dev_err(&pdev->dev, "Could not register DAI\n");
if (ret)
return ret;
}
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
if (ret) {
dev_err(&pdev->dev, "Could not register PCM\n");
if (ret)
return ret;
}
return 0;
}