commit | 195812e4b6a631e8eaad4046bf6890db4328ea1f | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri Nov 09 11:34:20 2012 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Nov 17 21:14:04 2012 +0100 |
tree | 1dd479a38f8a5fc49c25d9499a61017fc41cdc63 | |
parent | ed32620ea72889c8a9dda278a960bce01136d9a4 [diff] |
gpio: tegra: read output value when gpio is set in direction_out Read the output value when gpio is set for the output mode for gpio_get_value(). Reading input value in direction out does not give correct value. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>