Commit 7eafd66e authored by Linus Walleij's avatar Linus Walleij Committed by Kamal Mostafa

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 avatarKamal Mostafa <kamal@canonical.com>
parent 7655ce68
......@@ -1014,7 +1014,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s,
int pullidx = 0;
if (pull)
pullidx = data_out ? 1 : 2;
pullidx = data_out ? 2 : 1;
seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s",
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