[meta-freescale] [PATCH] kernel 3.14.28/gpiolib: Return GPIO logical value, not true value

Gary Thomas gary at mlbassoc.com
Wed May 20 10:34:15 PDT 2015


On 2015-05-20 11:26, Otavio Salvador wrote:
> On Wed, May 20, 2015 at 2:14 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>> On 2015-05-20 11:02, Fabio Estevam wrote:
>>>
>>> On Wed, May 20, 2015 at 1:57 PM, Eric Bénard <eric at eukrea.com> wrote:
>>>
>>>> I think it should apply easily, as gpio-generic.c is very similar
>>>> between 3.14.28 and mainline :
>>>>
>>>> 3.14.28
>>>>
>>>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/gpio/gpio-generic.c?h=linux-3.14.y&id=v3.14.28#n142
>>>>
>>>> commit 25b35da :
>>>>
>>>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/gpio/gpio-generic.c?id=25b35da7f4cce82271859f1b6eabd9f3bd41a2bb
>>>
>>>
>>> Yes, agreed. It is a one-line patch, so we can easily use the mainline
>>> fix.
>>>
>>
>> I concur - my change was local to just the sysfs code, but
>> this change is more correct (and already in mainline)
>
> Can you generate a proper patch for it?
>

Why not just cherry-pick from 25b35da?  It then has all of the proper
signed-off-by, etc.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list