[Linux-stm32] [PATCH v2 1/1] pinctrl: stmfx: add irq_request/release_resources callbacks
Linus Walleij
linus.walleij at linaro.org
Wed Oct 16 11:39:04 UTC 2019
On Wed, Oct 9, 2019 at 11:16 AM Amelie Delaunay <amelie.delaunay at st.com> 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 at st.com>
> ---
> Changes in V2:
> - use gpiochip_reqres_irq and gpiochip_relres_irq instead of calling
> explicitely the lock/unlock.
Patch applied!
Yours,
Linus Walleij
More information about the Linux-stm32
mailing list