All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: sophgo: Drop redundant error messages
@ 2026-08-03  6:16 phucduc.bui
  2026-08-03  6:16 ` [PATCH 2/2] ASoC: sophgo: remove unneeded devm_kmemdup() for DAI driver phucduc.bui
  2026-08-06 18:21 ` [PATCH 1/2] ASoC: sophgo: Drop redundant error messages Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: phucduc.bui @ 2026-08-03  6:16 UTC (permalink / raw)
  To: Chen Wang, Takashi Iwai, Mark Brown, Jaroslav Kysela,
	Liam Girdwood
  Cc: Inochi Amaoto, stavinsky, sophgo, linux-sound, linux-kernel,
	bui duc phuc

From: bui duc phuc <phucduc.bui@gmail.com>

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>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-07 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03  6:16 [PATCH 1/2] ASoC: sophgo: Drop redundant error messages phucduc.bui
2026-08-03  6:16 ` [PATCH 2/2] ASoC: sophgo: remove unneeded devm_kmemdup() for DAI driver phucduc.bui
2026-08-06 18:21 ` [PATCH 1/2] ASoC: sophgo: Drop redundant error messages Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.