commit | c65d1fd350fa28de79e86e18ef73b902a67c791a | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Aug 31 08:49:44 2016 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Mar 24 14:04:37 2017 +0100 |
tree | a9af6c70bb9fb1f784bb73e2912836c4237e6807 | |
parent | 07242b248119a9388a67975aa7fae7c23afc7a07 [diff] |
gpio: sa1100: implement get_direction method Allow gpiolib to read back the current IO direction configuration by implementing the .get_direction callback. This, in part, allows debugfs to report the complete true hardware state rather than the software state. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>