commit | 72d3200061776264941be1b5a9bb8e926b3b30a5 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 28 13:33:59 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Apr 30 13:01:51 2016 +0200 |
tree | 8917ef9b55e0cb00648003a1233c4c4905427d37 | |
parent | e9f4d569fb897e77200cd431f3aab138c3c733e6 [diff] |
gpio: set up initial state from .get_direction() If the gpiochip supports the .get_direction() callback, then the initial state of the descriptor flags should be set up as output accordingly. Also put in comments explaining what is going on. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>