[PATCH 1/2] ASoC: sophgo: Drop redundant error messages

From: phucduc . bui

Date: Mon Aug 03 2026 - 02:20:08 EST


From: bui duc phuc <phucduc.bui@xxxxxxxxx>

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@xxxxxxxxx>
---
sound/soc/sophgo/cv1800b-tdm.c | 4 +---
1 file changed, 1 insertion(+), 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;
}
--
2.43.0