[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5509AB94.8040100@st.com>
Date: Wed, 18 Mar 2015 17:45:08 +0100
From: Maxime Coquelin <maxime.coquelin@...com>
To: Lee Jones <lee.jones@...aro.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linus.walleij@...aro.org>,
<linux-gpio@...r.kernel.org>
CC: <kernel@...inux.com>
Subject: Re: [STLinux Kernel] [PATCH 5/6] pinctrl: st: Show correct pin direction
-- even when in GPIO mode
On 03/18/2015 11:51 AM, Lee Jones 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@...com>
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
> ---
> drivers/pinctrl/pinctrl-st.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
>
Acked-by: Maxime Coquelin <maxime.coquelin@...com>
Thanks,
Maxime
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists