[meta-freescale] [PATCH] kernel 3.14.28/gpiolib: Return GPIO logical value, not true value
Eric Bénard
eric at eukrea.com
Wed May 20 09:49:19 PDT 2015
Le Wed, 20 May 2015 13:34:24 -0300,
Otavio Salvador <otavio at ossystems.com.br> a écrit :
> On Wed, May 20, 2015 at 12:54 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> > Previous versions of the kernel returned the logical value of
> > GPIO signals (i.e. 0 or 1). This patch restores this behavior.
> >
> > Signed-off-by: Gary Thomas <gary at mlbassoc.com>
>
> I am not sure this is a correct fix. I tried to find out the commit
> which changed the behaviour without success.
>
> Fabio, is it possible for you to check how mainline is behaving? and
> more important does it need any fix?
>
fixed mainline by :
25b35da gpio: generic: clamp retured value to [0,1]
which is not in 3.4.28
Eric
More information about the meta-freescale
mailing list