Thread (14 messages) 14 messages, 4 authors, 2015-04-30

[PATCH v2 5/6] pinctrl: st: Show correct pin direction -- even when in GPIO mode

From: Linus Walleij <hidden>
Date: 2015-03-25 15:38:42
Also in: linux-gpio, lkml

On Wed, Mar 18, 2015 at 6:21 PM, Lee Jones [off-list ref] wrote:
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 <redacted>
Acked-by: Maxime Coquelin <redacted>
Signed-off-by: Lee Jones <redacted>
Patch applied.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help