Re: [PATCH v2 1/1] pinctrl: stmfx: add irq_request/release_resources callbacks

From: Linus Walleij
Date: Wed Oct 16 2019 - 07:39:19 EST


On Wed, Oct 9, 2019 at 11:16 AM Amelie Delaunay <amelie.delaunay@xxxxxx> wrote:

> When an STMFX IO is used as interrupt through the interrupt-controller
> binding, the STMFX driver should configure this IO as input. Default
> value of STMFX IO direction is input, but if the IO is used as output
> before the interrupt use, it will not work without these callbacks.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@xxxxxx>
> ---
> Changes in V2:
> - use gpiochip_reqres_irq and gpiochip_relres_irq instead of calling
> explicitely the lock/unlock.

Patch applied!

Yours,
Linus Walleij