gpio: stm32: add ops get_dir_flags
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 4 Jun 2020 12:30:26 +0000 (14:30 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Jul 2020 14:01:23 +0000 (16:01 +0200)
commit43efbb6a3ebf0223f9eab8d45916f602d876319f
treed648c8156ddcb4ba541f14c06d9ae2573e0254bd
parentf13ff88b61c32ac8f0e9068c41328b265ef619eb
gpio: stm32: add ops get_dir_flags

Add ops get_dir_flags() to read dir flags from GPIO registers.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/gpio/stm32_gpio.c