diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-23 18:10:12 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-30 15:14:33 +0100 |
| commit | db233669245d967c76efb8a6e59a4f19903ca35b (patch) | |
| tree | fe5005f6870adf505b94ee7e8b30dd1f1fc02c2a | |
| parent | 65ebc8347a9cfdbf6133adfb018c7243ce5d30f6 (diff) | |
| download | linux-next-db233669245d967c76efb8a6e59a4f19903ca35b.tar.gz linux-next-db233669245d967c76efb8a6e59a4f19903ca35b.zip | |
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>
| -rw-r--r-- | sound/soc/starfive/jh7110_pwmdac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/starfive/jh7110_pwmdac.c b/sound/soc/starfive/jh7110_pwmdac.c index 562936981cf0..5953c3a4e373 100644 --- a/sound/soc/starfive/jh7110_pwmdac.c +++ b/sound/soc/starfive/jh7110_pwmdac.c @@ -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)) { |
