commit | 3edfb7bd76bd1cba6b917736943dffd799deed8a | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Fri Oct 05 08:53:00 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Oct 10 10:32:00 2018 +0200 |
tree | e136cfbf483987ea7a488d40ac05a63fdafcc031 | |
parent | 6f0ec09afe278ea2a5d63f31b754db6655c69078 [diff] |
gpiolib: Show correct direction from the beginning Current code assumes that the direction is input if direction_input function is set. This might not be the case on GPIOs with programmable direction. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Tested-by: Jeffrey Hugo <jhugo@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>