gpio-rcar: Use OUTDT when reading GPIOs configured as output
commitae9550f635533b1ca5d0b50e24a720426ad237c6
authorMagnus Damm <damm@opensource.se>
Sun, 16 Jun 2013 23:41:52 +0000 (17 08:41 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 08:34:36 +0000 (17 10:34 +0200)
treee705e0d097e9110b4c581ab34e99d0624f0b5995
parentcd73891647a19f4b52f23d23f5c68175b93b56fe
gpio-rcar: Use OUTDT when reading GPIOs configured as output

Testing on r8a7790 shows that INDT does not indicate the correct
pin state when reading a GPIO configured as output, so update
the gpio_rcar_get() function to handle this case.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c