summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-syscon.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2018-10-05 08:53:00 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-10-10 10:32:00 +0200
commit3edfb7bd76bd1cba6b917736943dffd799deed8a (patch)
treee136cfbf483987ea7a488d40ac05a63fdafcc031 /drivers/gpio/gpio-syscon.c
parentpinctrl: msm: Use init_valid_mask exported function (diff)
downloadlinux-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