Re: [PATCH V2] gpio: palmas: Fix misreported GPIO out value
From: Linus Walleij
Date: Fri Aug 16 2013 - 09:06:22 EST
On Fri, Jul 26, 2013 at 10:39 PM, Andrew Chew <achew@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/