mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
pinctrl: nomadik: fix pull debug print inversion
commit6ee3345593upstream. Pull up was reported as pull down and vice versa. Fix this. Fixes:8f1774a2a9"pinctrl: nomadik: improve GPIO debug prints" Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6bf00fff3c
commit
e7c6abc464
@@ -995,7 +995,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,
|
||||
|
||||
Reference in New Issue
Block a user