Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Acked-by: Jon Hunter <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information