diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-29 18:25:23 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-30 13:15:10 +0200 |
commit | f002d07c56c7b7007328e8fff2adf04db1c81e90 (patch) | |
tree | 3a9b90c61cf73f64934a4eee57d307aed179aebd /Documentation/cpu-hotplug.txt | |
parent | gpio: set up initial state from .get_direction() (diff) | |
download | linux-f002d07c56c7b7007328e8fff2adf04db1c81e90.tar.xz linux-f002d07c56c7b7007328e8fff2adf04db1c81e90.zip |
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 'Documentation/cpu-hotplug.txt')
0 files changed, 0 insertions, 0 deletions