Re: [PATCH v2 2/2] pinctrl: ocelot: Fix interrupt parsing

From: Linus Walleij
Date: Mon Mar 14 2022 - 20:53:15 EST


On Fri, Mar 4, 2022 at 3:42 PM Horatiu Vultur
<horatiu.vultur@xxxxxxxxxxxxx> wrote:

> In the blamed commit, it removes the duplicate of_node assignment in the
> driver. But the driver uses this before calling into of_gpio_dev_init to
> determine if it needs to assign an IRQ chip to the GPIO. The fixes
> consists in using the platform_get_irq_optional
>
> Fixes: 8a8d6bbe1d3bc7 ("pinctrl: Get rid of duplicate of_node assignment in the drivers")
> Signed-off-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij