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

Baolin Wang <[email protected]>
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

On 7/29/26 3:35 PM, [email protected] wrote:
> From: bui duc phuc <[email protected]>
> 
> The called functions already log failures where appropriate. Remove the
> error log here to avoid duplicate error messages.
> 
> Signed-off-by: bui duc phuc <[email protected]>
> ---

LGTM.
Reviewed-by: Baolin Wang <[email protected]>

>   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;
>   }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.