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>
parent
6f0ec09a