pinctrl: uniphier: fix meaningless drive control offsets
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Jun 2016 08:18:06 +0000 (17:18 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 18 Jun 2016 08:03:09 +0000 (10:03 +0200)
These are input-only pins.  They do not support drive controlling
in the first place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c

index 8c614937bd8bb1c602348d85911a07a5ab526215..002bd6e60b9a5dc1501073d5cba33cd1a287d7c0 100644 (file)
@@ -138,7 +138,7 @@ static const struct pinctrl_pin_desc uniphier_pro4_pins[] = {
                             38, UNIPHIER_PIN_DRV_1BIT,
                             38, UNIPHIER_PIN_PULL_DOWN),
        UNIPHIER_PINCTRL_PIN(39, "BOOTSWAP", UNIPHIER_PIN_IECTRL_NONE,
-                            39, UNIPHIER_PIN_DRV_NONE,
+                            -1, UNIPHIER_PIN_DRV_NONE,
                             39, UNIPHIER_PIN_PULL_UP),
        UNIPHIER_PINCTRL_PIN(40, "NFD0", UNIPHIER_PIN_IECTRL_NONE,
                             2, UNIPHIER_PIN_DRV_2BIT,
@@ -639,7 +639,7 @@ static const struct pinctrl_pin_desc uniphier_pro4_pins[] = {
                             191, UNIPHIER_PIN_DRV_1BIT,
                             191, UNIPHIER_PIN_PULL_DOWN),
        UNIPHIER_PINCTRL_PIN(206, "CLK54I", UNIPHIER_PIN_IECTRL_NONE,
-                            192, UNIPHIER_PIN_DRV_NONE,
+                            -1, UNIPHIER_PIN_DRV_NONE,
                             192, UNIPHIER_PIN_PULL_DOWN),
        UNIPHIER_PINCTRL_PIN(207, "YIN0", UNIPHIER_PIN_IECTRL_NONE,
                             193, UNIPHIER_PIN_DRV_1BIT,
@@ -1005,7 +1005,7 @@ static const struct pinctrl_pin_desc uniphier_pro4_pins[] = {
                             311, UNIPHIER_PIN_DRV_1BIT,
                             311, UNIPHIER_PIN_PULL_UP),
        UNIPHIER_PINCTRL_PIN(328, "DMDISO", UNIPHIER_PIN_IECTRL_NONE,
-                            312, UNIPHIER_PIN_DRV_NONE,
+                            -1, UNIPHIER_PIN_DRV_NONE,
                             312, UNIPHIER_PIN_PULL_DOWN),
 };