summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-03 13:16:04 +0700
committerMark Brown <broonie@kernel.org>2026-08-06 19:18:58 +0100
commit85665ff342c7432e1f77f58e005af53d23a62391 (patch)
treef361c770393e67464536e35cd14806a88c52b352
parentc185ef7749d16dc41c3cd8651369ebd11fec3312 (diff)
ASoC: sophgo: 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/20260803061605.35485-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sophgo/cv1800b-tdm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/sophgo/cv1800b-tdm.c b/sound/soc/sophgo/cv1800b-tdm.c
index 4cbac8c1160f..a97f775aeddc 100644
--- a/sound/soc/sophgo/cv1800b-tdm.c
+++ b/sound/soc/sophgo/cv1800b-tdm.c
@@ -677,10 +677,8 @@ static int cv1800b_i2s_probe(struct platform_device *pdev)
return ret;
ret = devm_snd_dmaengine_pcm_register(dev, &cv1800b_i2s_pcm_config, 0);
- if (ret) {
- dev_err(dev, "dmaengine_pcm_register failed: %d\n", ret);
+ if (ret)
return ret;
- }
return 0;
}