Skip to content

Commit 6ee3345

Browse files
author
Linus Walleij
committed
pinctrl: nomadik: fix pull debug print inversion
Pull up was reported as pull down and vice versa. Fix this. Fixes: 8f1774a "pinctrl: nomadik: improve GPIO debug prints" Signed-off-by: Linus Walleij <[email protected]>
1 parent 44b03c1 commit 6ee3345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/nomadik/pinctrl-nomadik.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s,
990990
int val;
991991

992992
if (pull)
993-
pullidx = data_out ? 1 : 2;
993+
pullidx = data_out ? 2 : 1;
994994

995995
seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s",
996996
gpio,

0 commit comments

Comments
 (0)