Re: [PATCH v3] watchdog: qcom: Propagate errors from optional IRQ lookup

From: Guenter Roeck

Date: Mon Aug 10 2026 - 10:22:35 EST


On Mon, Aug 10, 2026 at 05:51:01PM +0700, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> platform_get_irq_optional() returns a positive IRQ number on success or
> a negative error code on failure. For an optional IRQ, -ENXIO indicates
> that no IRQ is available, while other errors should be propagated.
>
> Instead of only checking for -EPROBE_DEFER, propagate all error codes
> returned by platform_get_irq_optional() other than -ENXIO, so that
> failures are properly reported to the caller.
>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>

Applied.

Thanks,
Guenter