Merge tag 'pinctrl-v4.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6-block.git] / drivers / pinctrl / nomadik / pinctrl-nomadik.c
index f3b5c395285ba516f4f42c251ffb855ed5c90515..ccbfc325c7789e05ff2072fb021d73118990f1c1 100644 (file)
@@ -978,7 +978,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,