Messages in this thread | | | Date | Wed, 25 Mar 2015 16:38:38 +0100 | Subject | Re: [PATCH v2 5/6] pinctrl: st: Show correct pin direction -- even when in GPIO mode | From | Linus Walleij <> |
| |
On Wed, Mar 18, 2015 at 6:21 PM, Lee Jones <lee.jones@linaro.org> 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 <olivier.clergeaud@st.com> > Acked-by: Maxime Coquelin <maxime.coquelin@st.com> > Signed-off-by: Lee Jones <lee.jones@linaro.org>
Patch applied.
Yours, Linus Walleij
| |