Re: [PATCH V2] gpio: palmas: Fix misreported GPIO out value

2013-08-16 Thread Linus Walleij
On Fri, Jul 26, 2013 at 10:39 PM, Andrew Chew 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: Iaf

Re: [PATCH V2] gpio: palmas: Fix misreported GPIO out value

2013-07-28 Thread Laxman Dewangan
On Saturday 27 July 2013 02:09 AM, Andrew Chew 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. Looks good to me. Ack

[PATCH V2] gpio: palmas: Fix misreported GPIO out value

2013-07-26 Thread Andrew Chew
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 Signed-off-by: Andrew Che