commit | b37c45b8c27c049dc44673e40fd63820fd9a9d91 | [log] [tgz] |
---|---|---|
author | Roger Quadros <ext-roger.quadros@nokia.com> | Wed Aug 05 16:53:24 2009 +0300 |
committer | Tony Lindgren <tony@atomide.com> | Wed Aug 05 16:53:24 2009 +0300 |
tree | fe3a31bc5e61e7c9d13d64c1c3ec0c7eea9bb5d7 | |
parent | ed680c4ad478d0fee9740f7d029087f181346564 [diff] |
OMAP: GPIO: Fix incorrect gpio_get logic for output GPIOs gpio_get() should return DATAIN register value when the GPIO is configured as input whereas it should return DATAOUT register value when the GPIO is configured as output. Now /sys/kernel/debug/gpio shows proper values for output GPIOs Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>