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

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®