lkml.org 
[lkml]   [2013]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V2] gpio: palmas: Fix misreported GPIO out value
From
On Fri, Jul 26, 2013 at 10:39 PM, Andrew Chew <achew@nvidia.com> wrote:

> It seems that the value read back from the PALMAS_GPIO_DATA_IN register
> isn't valid if the GPIO direction is out. When that's the case, we can
> read back the PALMAS_GPIO_DATA_OUT register to get the proper output value.
>
> Change-Id: Iaf877e538cfdb37a6759c45ec3c6e4ee31078709

Very interesting that you use gerrit, but the kernel community does not
want this.

> Signed-off-by: Andrew Chew <achew@nvidia.com>
> ---
> V2: Fixed a warning from using test_bit with an int instead of long. Keeping
> the int and just masking that bit in the raw now.

Applied with change-id stripped and Laxman's ACK.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-08-16 15:21    [W:0.070 / U:1.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site