gpio-uclass.c: save the GPIOD flags also in the gpio descriptor
authorHeiko Schocher <hs@denx.de>
Fri, 22 May 2020 09:08:56 +0000 (11:08 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 Jul 2020 12:06:09 +0000 (08:06 -0400)
commitcd2faeba1abc08e5adba736e75dc665742cc310c
treefdde680fc0bdbf6b7f124e4dad34d568b9b81b94
parent06e1321553ffa442248e35d9100fd70153690348
gpio-uclass.c: save the GPIOD flags also in the gpio descriptor

save the GPIOD_ flags also in the gpio descriptor.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Fixes: 788ea834124b ("gpio: add function _dm_gpio_set_dir_flags")
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Walter Lozano <walter.lozano@collabora.com>
drivers/gpio/gpio-uclass.c