mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: sti: uniperif: Propagate the IRQ lookup error
@ 2026-11-19  7:58 Zhu Jun
  2026-11-23 18:39 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Zhu Jun @ 2026-11-19  7:58 UTC (permalink / raw)
  To: broonie; +Cc: lgirdwood, arnaud.pouliquen, linux-sound, linux-kernel, Zhu Jun

The uniperipheral driver converts any error from platform_get_irq()
to -ENXIO. This also masks -EPROBE_DEFER when an interrupt provider
is not ready, preventing the device core from retrying probe.

Return the error from platform_get_irq() directly.

Fixes: f3bd847eb0a7 ("ASoC: sti: Add uniperipheral dai driver")
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
 sound/soc/sti/sti_uniperif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sti/sti_uniperif.c b/sound/soc/sti/sti_uniperif.c
index 3fbd9fee94ac..d30d5b3efad6 100644
--- a/sound/soc/sti/sti_uniperif.c
+++ b/sound/soc/sti/sti_uniperif.c
@@ -425,7 +425,7 @@ static int sti_uniperiph_cpu_dai_of(struct device_node *node,
 
 	uni->irq = platform_get_irq(priv->pdev, 0);
 	if (uni->irq < 0)
-		return -ENXIO;
+		return uni->irq;
 
 	uni->type = dev_data->type;
 



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

* Re: [PATCH] ASoC: sti: uniperif: Propagate the IRQ lookup error
  2026-11-19  7:58 [PATCH] ASoC: sti: uniperif: Propagate the IRQ lookup error Zhu Jun
@ 2026-11-23 18:39 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-11-23 18:39 UTC (permalink / raw)
  To: Zhu Jun; +Cc: lgirdwood, arnaud.pouliquen, linux-sound, linux-kernel

On Thu, 19 Nov 2026 15:58:59 +0800, Zhu Jun wrote:
> ASoC: sti: uniperif: Propagate the IRQ lookup error

Applied to

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

Thanks!

[1/1] ASoC: sti: uniperif: Propagate the IRQ lookup error
      https://git.kernel.org/broonie/sound/c/ed1e119c2781

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] 2+ messages in thread

end of thread, other threads:[~2026-11-24 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  7:58 [PATCH] ASoC: sti: uniperif: Propagate the IRQ lookup error Zhu Jun
2026-11-23 18:39 ` Mark Brown

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

all inboxes | Powered by JetHome®