mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
ASoC: rockchip: rockchip_pdm: 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-10-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
de983524dc
commit
7d3f7eb890
|
|
@ -630,10 +630,8 @@ static int rockchip_pdm_probe(struct platform_device *pdev)
|
|||
&rockchip_pdm_component,
|
||||
&rockchip_pdm_dai, 1);
|
||||
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "could not register dai: %d\n", ret);
|
||||
if (ret)
|
||||
goto err_suspend;
|
||||
}
|
||||
|
||||
rockchip_pdm_rxctrl(pdm, 0);
|
||||
|
||||
|
|
@ -642,10 +640,8 @@ static int rockchip_pdm_probe(struct platform_device *pdev)
|
|||
goto err_suspend;
|
||||
|
||||
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "could not register pcm: %d\n", ret);
|
||||
if (ret)
|
||||
goto err_suspend;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user