Messages in this thread | | | Date | Fri, 16 Aug 2013 15:06:08 +0200 | Subject | Re: [PATCH V2] gpio: palmas: Fix misreported GPIO out value | From | Linus Walleij <> |
| |
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
| |