Skip to content
Commit 6169005c authored by Brandon Maier's avatar Brandon Maier Committed by Linus Walleij
Browse files

gpio: zynq: Report gpio direction at boot



The Zynq's gpios can be configured by the bootloader. But Linux will
erroneously report all gpios as inputs unless we implement
get_direction().

Signed-off-by: default avatarBrandon Maier <Brandon.Maier@collins.com>
Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9904f032
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment