diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-03-18 17:21:18 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-25 16:38:06 +0100 |
commit | e2ed0e88ecba59775a25b3cc237eed1faf71a9aa (patch) | |
tree | bffc4a915a4786b7df9fd656daf04530193b1a00 /fs/ubifs/commit.c | |
parent | 1e702ec2aa3bfed17d1266d31f94923322afbc60 (diff) |
pinctrl: st: Show correct pin direction also in GPIO mode
Until now ST's pinconf_dbg_show() call-back has displayed the PIO
alternate function direction, which is only relevant if a pin is
operating in an alternate function mode i.e not GPIO mode. If a
pin is in GPIO mode its direction is both set and status is
obtained by a completely different/unrelated bunch of registers.
This change ensures that the correct pin direction is shown, even
if a pin is operating in GPIO mode.
Reported-by: Olivier Clergeaud <olivier.clergeaud@st.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions