pinctrl: stmfx: add irq_request/release_resources callbacks
authorAmelie Delaunay <amelie.delaunay@st.com>
Wed, 9 Oct 2019 09:16:06 +0000 (11:16 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2019 13:56:18 +0000 (15:56 +0200)
commitf086d1fe06cf3c5be928a6c2f8d1c54003f91d46
treef2d53c518561c3a11020b4d844b6d079bf05d1bf
parentbcd11493f0abb98624cfa8b0949eb5fa2629864b
pinctrl: stmfx: add irq_request/release_resources callbacks

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@st.com>
Link: https://lore.kernel.org/r/20191009091606.17283-1-amelie.delaunay@st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-stmfx.c