提交 6ee33455 编写于 作者: L 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: NLinus Walleij <linus.walleij@linaro.org>
上级 44b03c10
......@@ -990,7 +990,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s,
int val;
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册