diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2018-10-05 08:53:00 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-10-10 10:32:00 +0200 |
commit | 3edfb7bd76bd1cba6b917736943dffd799deed8a (patch) | |
tree | e136cfbf483987ea7a488d40ac05a63fdafcc031 /drivers/gpio/gpio-syscon.c | |
parent | pinctrl: msm: Use init_valid_mask exported function (diff) | |
download | linux-3edfb7bd76bd1cba6b917736943dffd799deed8a.tar.xz linux-3edfb7bd76bd1cba6b917736943dffd799deed8a.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-syscon.c')
0 files changed, 0 insertions, 0 deletions