Commit 6ee33455 authored by Linus Walleij's avatar Linus Walleij

pinctrl: nomadik: fix pull debug print inversion

Pull up was reported as pull down and vice versa. Fix this.

Fixes: 8f1774a2 "pinctrl: nomadik: improve GPIO debug prints"
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 44b03c10
...@@ -990,7 +990,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s, ...@@ -990,7 +990,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s,
int val; int val;
if (pull) if (pull)
pullidx = data_out ? 1 : 2; pullidx = data_out ? 2 : 1;
seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s", seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s",
gpio, gpio,
......
Markdown is supported
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