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

Otavio Salvador otavio at ossystems.com.br
Wed May 20 10:36:23 PDT 2015


On Wed, May 20, 2015 at 2:34 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> 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.

I cannot push at git.freescale.com so this is a problem. For
linux-fslc this is easy.

For now, I think a patch needs to be exported and applied on top of
the original Git tree. Fabio, can you ask if 25b35da can be applied at
Freescale's git?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list