OMAP: Add function to get state of a GPIO output
authorJoel A Fernandes <agnel.joel@gmail.com>
Sun, 4 Sep 2011 16:10:03 +0000 (11:10 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 12 Sep 2011 15:40:48 +0000 (17:40 +0200)
commit569919d8e284c36d4ee981df5fcaa2e188f006a0
treef982e86be213ca14605c4afe27c9da86716c7be3
parent043cfcfb7ed1815264df823e5a91683a50189892
OMAP: Add function to get state of a GPIO output

Read directly from OMAP_GPIO_DATAOUT to get the output state of the GPIO pin

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap-common/gpio.c
arch/arm/include/asm/omap_gpio.h