Re: [PATCH 1/5] pinctrl: ocelot: Propagate errors from optional IRQ lookup
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAHp75Vfj9XdGY=E1-nDXhwu182b1ikoruzj2dGSp_H6kOo0SDA@mail.gmail.com> |
On Mon, Aug 10, 2026 at 8:32 AM <[email protected]> wrote: > > 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 optional IRQ is available, while other errors should be propagated. > > Propagate all error codes returned by platform_get_irq_optional() other > than -ENXIO. Same comments. It may or may not be okay to have such a change. The less disruptive one is to check only for a deferred probe. -- With Best Regards, Andy Shevchenko