The 12 data pins of LCD1 are numbered 0..11, not 0..12.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
 drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c 
b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
index 279e9dd442e44729..7f7c8a6e76e88f29 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
@@ -2214,7 +2214,7 @@ static const unsigned int lcd1_data9_mux[] = {
        LCD1_D8_MARK,
 };
 static const unsigned int lcd1_data12_pins[] = {
-       /* D[0:12] */
+       /* D[0:11] */
        4, 3, 2, 1, 0, 91, 92, 23,
        93, 94, 21, 201,
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to