diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-03-24 08:15:45 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-31 04:45:26 -0400 |
commit | 6ee334559324a55725e22463de633b99ad99fcad (patch) | |
tree | 8359b495af9668953dfdd72d4895a3a416f8fe3f | |
parent | 44b03c105106842580f31f37cf88a2a95ae5074e (diff) |
pinctrl: nomadik: fix pull debug print inversion
Pull up was reported as pull down and vice versa. Fix this.
Fixes: 8f1774a2a971 "pinctrl: nomadik: improve GPIO debug prints"
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index 352406108fa0..c8969dd49449 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c | |||
@@ -990,7 +990,7 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s, | |||
990 | int val; | 990 | int val; |
991 | 991 | ||
992 | if (pull) | 992 | if (pull) |
993 | pullidx = data_out ? 1 : 2; | 993 | pullidx = data_out ? 2 : 1; |
994 | 994 | ||
995 | seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s", | 995 | seq_printf(s, " gpio-%-3d (%-20.20s) in %s %s", |
996 | gpio, | 996 | gpio, |