mirror of
https://github.com/torvalds/linux.git
synced 2026-09-13 15:40:03 +02:00
ASoC: rockchip: rockchip_sai: 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-14-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7a2229ef7c
commit
26c9632c33
|
|
@ -1472,18 +1472,14 @@ static int rockchip_sai_probe(struct platform_device *pdev)
|
|||
return dev_err_probe(&pdev->dev, ret, "Failed to resume device\n");
|
||||
|
||||
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "Failed to register PCM: %d\n", ret);
|
||||
if (ret)
|
||||
goto err_runtime_suspend;
|
||||
}
|
||||
|
||||
ret = devm_snd_soc_register_component(&pdev->dev,
|
||||
&rockchip_sai_component,
|
||||
dai, 1);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "Failed to register component: %d\n", ret);
|
||||
if (ret)
|
||||
goto err_runtime_suspend;
|
||||
}
|
||||
|
||||
pm_runtime_use_autosuspend(&pdev->dev);
|
||||
pm_runtime_put(&pdev->dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user