Commit 921aa6dd authored by Linus Walleij's avatar Linus Walleij Committed by Sasha Levin

pinctrl: nomadik: fix pull debug print inversion

[ Upstream commit 6ee33455 ]

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 avatarSasha Levin <sasha.levin@oracle.com>
parent 80618333
......@@ -1025,7 +1025,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