diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-07 23:59:39 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-04-28 19:35:09 (GMT) |
commit | ef7de2625fdd40c2d26a10bf87cc1626017adc18 (patch) | |
tree | bcd0e10d8a9c19879cddf3907cd699768f1fa591 /drivers/gpio/gpiolib-of.c | |
parent | e45d1c80c0eee88e82751461e9cac49d9ed287bc (diff) | |
download | linux-ef7de2625fdd40c2d26a10bf87cc1626017adc18.tar.xz |
gpio: zevio: Get correct gpio output value
Read gpio output value from ZEVIO_GPIO_OUTPUT.
The spin_lock is required to ensure the direction is not changed before reading
input/ouput value.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions