commit | f002d07c56c7b7007328e8fff2adf04db1c81e90 | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri Apr 29 21:55:23 2016 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Apr 30 13:15:10 2016 +0200 |
tree | 3a9b90c61cf73f64934a4eee57d307aed179aebd | |
parent | 72d3200061776264941be1b5a9bb8e926b3b30a5 [diff] |
gpio: tegra: Implement gpio_get_direction callback Implement gpio_get_direction() callback for Tegra GPIO. The direction is only valid if the pin is configured as GPIO. If pin is not configured in GPIO mode then this function return error. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>