[PATCH] ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()

Subsystems: freescale soc sound drivers, sound, sound - soc layer / dynamic audio power management (asoc), the rest

STALE2094d LANDED

Landed in mainline as 1cc3245b2c74 on 2020-11-09.

3 messages, 3 authors, 2020-11-09 · open the first message on its own page

[PATCH] ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()

From: Shengjiu Wang <hidden>
Date: 2020-11-07 02:29:17

platform_get_irq() would print error message internally, so dev_err()
after platform_get_irq() is not needed

Signed-off-by: Shengjiu Wang <redacted>
---
 sound/soc/fsl/fsl_aud2htx.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sound/soc/fsl/fsl_aud2htx.c b/sound/soc/fsl/fsl_aud2htx.c
index 124aeb70f24e..4091ccc7c3e9 100644
--- a/sound/soc/fsl/fsl_aud2htx.c
+++ b/sound/soc/fsl/fsl_aud2htx.c
@@ -211,11 +211,8 @@ static int fsl_aud2htx_probe(struct platform_device *pdev)
 	}
 
 	irq = platform_get_irq(pdev, 0);
-	if (irq < 0) {
-		dev_err(&pdev->dev, "no irq for node %s\n",
-			dev_name(&pdev->dev));
+	if (irq < 0)
 		return irq;
-	}
 
 	ret = devm_request_irq(&pdev->dev, irq, fsl_aud2htx_isr, 0,
 			       dev_name(&pdev->dev), aud2htx);
-- 
2.27.0

Re: [PATCH] ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()

From: Nicolin Chen <nicoleotsuka@gmail.com>
Date: 2020-11-07 02:40:39

On Sat, Nov 07, 2020 at 10:20:43AM +0800, Shengjiu Wang wrote:
platform_get_irq() would print error message internally, so dev_err()
after platform_get_irq() is not needed

Signed-off-by: Shengjiu Wang <redacted>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

Re: [PATCH] ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()

From: Mark Brown <broonie@kernel.org>
Date: 2020-11-09 19:47:54

On Sat, 7 Nov 2020 10:20:43 +0800, Shengjiu Wang wrote:
platform_get_irq() would print error message internally, so dev_err()
after platform_get_irq() is not needed
Applied to

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

Thanks!

[1/1] ASoC: fsl_aud2htx: Remove dev_err() usage after platform_get_irq()
      commit: 1cc3245b2c7464b6d6ad210b0e333781676de519

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help