mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
e9f4d569fb
commit
72d3200061
1 changed files with 24 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue