summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-29 18:25:23 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-30 13:15:10 +0200
commitf002d07c56c7b7007328e8fff2adf04db1c81e90 (patch)
tree3a9b90c61cf73f64934a4eee57d307aed179aebd /Documentation/DocBook
parentgpio: set up initial state from .get_direction() (diff)
downloadlinux-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/DocBook')
0 files changed, 0 insertions, 0 deletions