Re: [PATCH] usb: xhci: tegra: Propagate -EPROBE_DEFER from IRQ lookup
Bui Duc Phuc <[email protected]>
| Newsgroups | gmane.linux.ports.tegra,gmane.linux.usb.general,gmane.linux.kernel |
|---|---|
| Message-ID | <CAABR9nGBLoRdHUp_a35E-ASa6RzMu=z8GXDjPYw-ptAPfZ94kg@mail.gmail.com> |
Hi Greg, Thank you for your feedback. > > As before, how was this found and tested? > I found this during code inspection while cleaning up probe functions in the Rockchip ASoC drivers. https://lore.kernel.org/all/20260806052136.21034-1-phucduc.bui-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org/ platform_get_irq_optional() returns a positive IRQ number on success or a negative error code on failure, including -EPROBE_DEFER. The driver handled positive IRQ numbers but ignored -EPROBE_DEFER, continuing probe without an IRQ instead of deferring. I only compile-tested the change. I don't have the hardware to test this path at runtime. Best regards, Phuc