Commit 6c6acf4f authored by Linus Walleij's avatar Linus Walleij Committed by Greg Kroah-Hartman

pinctrl: nomadik: fix pull debug print inversion

commit 6ee33455 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e58d48e2
...@@ -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