]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: htc-egpio: add .get_direction() support
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Nov 2016 13:36:17 +0000 (14:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Nov 2016 13:36:17 +0000 (14:36 +0100)
commit9298539c0472c1bd7516c62d444e561493e3f26c
tree44af6fd71702f3f65936c5a4a591a5eb28fc8ece
parentc82064f26f44ea13f097dfb58d5ffd4359dcabbb
gpio: htc-egpio: add .get_direction() support

This makes is possible to read out the current direction of a
GPIO line on the HTC CPLD GPIO expander.

Suggested-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-htc-egpio.c