Re: [PATCH] usb: xhci: tegra: Propagate -EPROBE_DEFER from IRQ lookup

Bui Duc Phuc <[email protected]> Thu, 6 Aug 2026 14:30:48 +0700
Newsgroups org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb
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/[email protected]/

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