Skip to content

Commit

Permalink
pinctrl: nomadik: fix pull debug print inversion
Browse files Browse the repository at this point in the history
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 <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Mar 31, 2016
1 parent 44b03c1 commit 6ee3345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/nomadik/pinctrl-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6ee3345

Please sign in to comment.