Skip to content
Snippets Groups Projects
Commit 72d32000 authored by Linus Walleij's avatar Linus Walleij
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e9f4d569
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment