commit | ef7de2625fdd40c2d26a10bf87cc1626017adc18 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Apr 08 07:59:39 2014 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 28 12:35:09 2014 -0700 |
tree | bcd0e10d8a9c19879cddf3907cd699768f1fa591 | |
parent | e45d1c80c0eee88e82751461e9cac49d9ed287bc [diff] |
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>