diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-29 16:25:23 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-30 11:15:10 (GMT) |
commit | f002d07c56c7b7007328e8fff2adf04db1c81e90 (patch) | |
tree | 3a9b90c61cf73f64934a4eee57d307aed179aebd /fs/bfs | |
parent | 72d3200061776264941be1b5a9bb8e926b3b30a5 (diff) | |
download | linux-f002d07c56c7b7007328e8fff2adf04db1c81e90.tar.xz |
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>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions