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

From: Laxman Dewangan
Date: Mon Jul 29 2013 - 01:48:18 EST


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.
Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>

--
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/