Re: [PATCH net-next 0/4] can: don't discard the platform_get_irq() error in probe
From: Jakub Kicinski
Date: Wed Oct 21 2026 - 16:31:48 EST
On Fri, 16 Oct 2026 14:11:35 +0800 Chaosheng Qu wrote:
> Four CAN platform drivers collapse every failure of platform_get_irq()
> into a fixed error code:
>
> sun4i_can -ENODEV
> at91_can -ENODEV (also tests irq <= 0, which cannot happen)
> janz-ican3 -ENODEV
> ifi_canfd -EINVAL
>
> sun4i_can, at91_can and ifi_canfd match through an of_match_table, so
> of_irq_get() returns -EPROBE_DEFER while the interrupt controller has not
> been probed. The probes overwrite it and the driver core stops retrying,
> leaving the device unbound even though the interrupt controller appears
> later.
Please don't CC netdev@ on run-of-the-mill CAN patches.
Follow to MAINTAINERS / get_maintainers.pl