[PATCH 1/3] serial: qcom-geni: Propagate errors from optional IRQ lookup

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Wed Aug 19 04:13:37 PDT 2026


On 8/7/26 11:09 AM, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
> 
> 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.
> 
> Propagate errors such as -EPROBE_DEFER and -EINVAL instead of continuing
> probe without the IRQ.
> 
> Signed-off-by: bui duc phuc <phucduc.bui at gmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>

Konrad



More information about the Linux-mediatek mailing list