mirror of
https://github.com/torvalds/linux.git
synced 2026-09-12 20:53:03 +02:00
ASoC: Intel: KMB: Propagate -EPROBE_DEFER from IRQ lookup
Return -EPROBE_DEFER from platform_get_irq_optional() so the driver is re-probed when the interrupt resource becomes available instead of continuing probe without an IRQ. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260806055937.24600-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6f14f6a24f
commit
ce76c44c34
|
|
@ -873,6 +873,8 @@ static int kmb_plat_dai_probe(struct platform_device *pdev)
|
|||
|
||||
if (kmb_i2s->use_pio) {
|
||||
irq = platform_get_irq_optional(pdev, 0);
|
||||
if (irq == -EPROBE_DEFER)
|
||||
return irq;
|
||||
if (irq > 0) {
|
||||
ret = devm_request_irq(dev, irq, kmb_i2s_irq_handler, 0,
|
||||
pdev->name, kmb_i2s);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user