Re: [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: Drop redundant error messages

From: Baolin Wang

Date: Wed Jul 29 2026 - 22:27:05 EST




On 7/29/26 3:35 PM, phucduc.bui@xxxxxxxxx wrote:
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>
---

LGTM.
Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>

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