Re: [PATCH] pinctrl: ingenic: Add irq_{request,release}_resources callbacks
From: Linus Walleij
Date: Tue May 12 2020 - 08:39:44 EST
On Sun, May 3, 2020 at 6:45 PM Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:
> These are called when a GPIO is to be used as IRQ.
>
> Without these custom callbacks, when an interrupt is requested directly
> and not through gpiod_to_irq(), the request fails because the GPIO is
> not necesarily in input mode. These callbacks simply enforce that the
> requested GPIO is in input mode.
>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij