mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
ASoC: starfive: jh7110-pwmdac: Drop redundant error messages
The called functions already log failures where appropriate. Return the original error directly and avoid duplicate error messages. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260723111014.54071-3-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
65ebc8347a
commit
db23366924
|
|
@ -477,11 +477,11 @@ static int jh7110_pwmdac_probe(struct platform_device *pdev)
|
|||
&jh7110_pwmdac_component,
|
||||
&jh7110_pwmdac_dai, 1);
|
||||
if (ret)
|
||||
return dev_err_probe(&pdev->dev, ret, "failed to register dai\n");
|
||||
return ret;
|
||||
|
||||
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
|
||||
if (ret)
|
||||
return dev_err_probe(&pdev->dev, ret, "failed to register pcm\n");
|
||||
return ret;
|
||||
|
||||
pm_runtime_enable(dev->dev);
|
||||
if (!pm_runtime_enabled(&pdev->dev)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user