mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages
@ 2026-07-29  7:35 phucduc.bui
  2026-07-29  7:35 ` [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: " phucduc.bui
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: phucduc.bui @ 2026-07-29  7:35 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Mark Brown, Jaroslav Kysela,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Kuninori Morimoto
  Cc: 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/sprd/sprd-mcdt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/sprd/sprd-mcdt.c b/sound/soc/sprd/sprd-mcdt.c
index 5f3a2a7bce31..d9a7bbd6c0b6 100644
--- a/sound/soc/sprd/sprd-mcdt.c
+++ b/sound/soc/sprd/sprd-mcdt.c
@@ -931,10 +931,8 @@ static int sprd_mcdt_probe(struct platform_device *pdev)
 
 	ret = devm_request_irq(&pdev->dev, irq, sprd_mcdt_irq_handler,
 			       0, "sprd-mcdt", mcdt);
-	if (ret) {
-		dev_err(&pdev->dev, "Failed to request MCDT IRQ\n");
+	if (ret)
 		return ret;
-	}
 
 	sprd_mcdt_init_chans(mcdt, res);
 
-- 
2.43.0


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

* [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: Drop redundant error messages
  2026-07-29  7:35 [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages phucduc.bui
@ 2026-07-29  7:35 ` phucduc.bui
  2026-07-30  2:16   ` Baolin Wang
  2026-07-30  2:16 ` [PATCH 1/2] ASoC: sprd: sprd-mcdt: " Baolin Wang
  2026-08-01  1:02 ` Mark Brown
  2 siblings, 1 reply; 5+ messages in thread
From: phucduc.bui @ 2026-07-29  7:35 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Mark Brown, Jaroslav Kysela,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Kuninori Morimoto
  Cc: linux-sound, linux-kernel, bui duc phuc

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

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@gmail.com>
---
 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


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

* Re: [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages
  2026-07-29  7:35 [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages phucduc.bui
  2026-07-29  7:35 ` [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: " phucduc.bui
@ 2026-07-30  2:16 ` Baolin Wang
  2026-08-01  1:02 ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Baolin Wang @ 2026-07-30  2:16 UTC (permalink / raw)
  To: phucduc.bui, Liam Girdwood, Takashi Iwai, Mark Brown,
	Jaroslav Kysela, Orson Zhai, Chunyan Zhang, Kuninori Morimoto
  Cc: linux-sound, linux-kernel



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

LGTM.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>

>   sound/soc/sprd/sprd-mcdt.c | 4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/sound/soc/sprd/sprd-mcdt.c b/sound/soc/sprd/sprd-mcdt.c
> index 5f3a2a7bce31..d9a7bbd6c0b6 100644
> --- a/sound/soc/sprd/sprd-mcdt.c
> +++ b/sound/soc/sprd/sprd-mcdt.c
> @@ -931,10 +931,8 @@ static int sprd_mcdt_probe(struct platform_device *pdev)
>   
>   	ret = devm_request_irq(&pdev->dev, irq, sprd_mcdt_irq_handler,
>   			       0, "sprd-mcdt", mcdt);
> -	if (ret) {
> -		dev_err(&pdev->dev, "Failed to request MCDT IRQ\n");
> +	if (ret)
>   		return ret;
> -	}
>   
>   	sprd_mcdt_init_chans(mcdt, res);
>   


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

* Re: [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: Drop redundant error messages
  2026-07-29  7:35 ` [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: " phucduc.bui
@ 2026-07-30  2:16   ` Baolin Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Baolin Wang @ 2026-07-30  2:16 UTC (permalink / raw)
  To: phucduc.bui, Liam Girdwood, Takashi Iwai, Mark Brown,
	Jaroslav Kysela, Orson Zhai, Chunyan Zhang, Kuninori Morimoto
  Cc: linux-sound, linux-kernel



On 7/29/26 3:35 PM, phucduc.bui@gmail.com wrote:
> From: bui duc phuc <phucduc.bui@gmail.com>
> 
> 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@gmail.com>
> ---

LGTM.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>

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


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

* Re: [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages
  2026-07-29  7:35 [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages phucduc.bui
  2026-07-29  7:35 ` [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: " phucduc.bui
  2026-07-30  2:16 ` [PATCH 1/2] ASoC: sprd: sprd-mcdt: " Baolin Wang
@ 2026-08-01  1:02 ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-08-01  1:02 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Jaroslav Kysela, Orson Zhai,
	Baolin Wang, Chunyan Zhang, Kuninori Morimoto, phucduc.bui
  Cc: linux-sound, linux-kernel

On Wed, 29 Jul 2026 14:35:31 +0700, phucduc.bui@gmail.com wrote:
> ASoC: sprd: sprd-mcdt: Drop redundant error messages

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages
      https://git.kernel.org/broonie/sound/c/4f08e2b88896
[2/2] ASoC: sprd: sprd-pcm-dma: Drop redundant error messages
      https://git.kernel.org/broonie/sound/c/595201d39108

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2026-08-01  1:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29  7:35 [PATCH 1/2] ASoC: sprd: sprd-mcdt: Drop redundant error messages phucduc.bui
2026-07-29  7:35 ` [PATCH 2/2] ASoC: sprd: sprd-pcm-dma: " phucduc.bui
2026-07-30  2:16   ` Baolin Wang
2026-07-30  2:16 ` [PATCH 1/2] ASoC: sprd: sprd-mcdt: " Baolin Wang
2026-08-01  1:02 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome