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

pinctrl: nomadik: improve GPIO debug prints


The debugfs file would only define if the line was "pulled" and
not which direction (pull up or pull down). Improve this by
taking two print paths depending on whether the pin is set as
input or output and use the data register directly to figure
out whether the pin is set for pull up or pull down.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 259145fe
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