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