[PATCH 2/2] ASoC: sprd: sprd-pcm-dma: Drop redundant error messages
From: phucduc . bui
Date: Wed Jul 29 2026 - 03:45:34 EST
From: bui duc phuc <phucduc.bui@xxxxxxxxx>
The called functions already log failures where appropriate. Remove the
error log here to avoid duplicate error messages.
Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
---
sound/soc/sprd/sprd-pcm-dma.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/sprd/sprd-pcm-dma.c b/sound/soc/sprd/sprd-pcm-dma.c
index cbf5bf82d96e..f509a4601de2 100644
--- a/sound/soc/sprd/sprd-pcm-dma.c
+++ b/sound/soc/sprd/sprd-pcm-dma.c
@@ -469,8 +469,6 @@ static int sprd_soc_platform_probe(struct platform_device *pdev)
ret = devm_snd_soc_register_component(&pdev->dev, &sprd_soc_component,
NULL, 0);
- if (ret)
- dev_err(&pdev->dev, "could not register platform:%d\n", ret);
return ret;
}
--
2.43.0