Re: [PATCH] usb: xhci: tegra: Propagate -EPROBE_DEFER from IRQ lookup
From: Bui Duc Phuc
Date: Thu Aug 06 2026 - 03:31:19 EST
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@xxxxxxxxx/
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