]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: stm32: correct the bias management
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 28 Oct 2020 09:49:08 +0000 (10:49 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 25 Nov 2020 11:01:46 +0000 (12:01 +0100)
commit25f015a098f01cd43d6fa87203471b2a17e2f7ac
tree8601a8bacfbd530afe0e58b8e771bde9fba1409c
parent0c89e41ac2723c22ef1020e0a1223c8e3a8ad546
gpio: stm32: correct the bias management

Use the bias configuration for all the GPIO configurations and not
only for input GPIO, as indicated in Reference manual
(Table 81. Port bit configuration table).

Fixes: 8978d2f67d7fa36cc298fe4432e10b4c5d5b2742 ("gpio: stm32: add ops get_dir_flags")
Fixes: 9907a825eff130fea97b190db12a681bb8fc702a ("gpio: stm32: add ops set_dir_flags")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/gpio/stm32_gpio.c