* [PATCH] ASoC: amd: acp: return irq error directly
@ 2026-08-07 1:24 Rosen Penev
2026-08-07 12:58 ` Mukunda,Vijendar
2026-08-07 16:11 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Rosen Penev @ 2026-08-07 1:24 UTC (permalink / raw)
To: linux-sound
Cc: Vijendar Mukunda, Venkata Prasad Potturu, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, open list
platform_get_irq() returns multiple error codes. Return the irq directly
instead of just -ENODEV.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
sound/soc/amd/acp-pcm-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index baf4b41e54df..e99588458ed8 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -1292,7 +1292,7 @@ static int acp_audio_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, 0);
if (irq < 0)
- return -ENODEV;
+ return irq;
status = devm_request_irq(&pdev->dev, irq, dma_irq_handler,
0, "ACP_IRQ", &pdev->dev);
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: amd: acp: return irq error directly
2026-08-07 1:24 [PATCH] ASoC: amd: acp: return irq error directly Rosen Penev
@ 2026-08-07 12:58 ` Mukunda,Vijendar
2026-08-07 16:11 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mukunda,Vijendar @ 2026-08-07 12:58 UTC (permalink / raw)
To: Rosen Penev, linux-sound
Cc: Venkata Prasad Potturu, Liam Girdwood, Mark Brown,
Jaroslav Kysela, Takashi Iwai, open list
On 8/7/26 06:54, Rosen Penev wrote:
> platform_get_irq() returns multiple error codes. Return the irq directly
> instead of just -ENODEV.
>
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
> sound/soc/amd/acp-pcm-dma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
> index baf4b41e54df..e99588458ed8 100644
> --- a/sound/soc/amd/acp-pcm-dma.c
> +++ b/sound/soc/amd/acp-pcm-dma.c
> @@ -1292,7 +1292,7 @@ static int acp_audio_probe(struct platform_device *pdev)
>
> irq = platform_get_irq(pdev, 0);
> if (irq < 0)
> - return -ENODEV;
> + return irq;
>
> status = devm_request_irq(&pdev->dev, irq, dma_irq_handler,
> 0, "ACP_IRQ", &pdev->dev);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: amd: acp: return irq error directly
2026-08-07 1:24 [PATCH] ASoC: amd: acp: return irq error directly Rosen Penev
2026-08-07 12:58 ` Mukunda,Vijendar
@ 2026-08-07 16:11 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-08-07 16:11 UTC (permalink / raw)
To: linux-sound, Rosen Penev
Cc: Vijendar Mukunda, Venkata Prasad Potturu, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, linux-kernel
On Thu, 06 Aug 2026 18:24:08 -0700, Rosen Penev wrote:
> ASoC: amd: acp: return irq error directly
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3
Thanks!
[1/1] ASoC: amd: acp: return irq error directly
https://git.kernel.org/broonie/sound/c/e04cf4dd5faa
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] 3+ messages in thread
end of thread, other threads:[~2026-08-08 12:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07 1:24 [PATCH] ASoC: amd: acp: return irq error directly Rosen Penev
2026-08-07 12:58 ` Mukunda,Vijendar
2026-08-07 16:11 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.