summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Jui <rjui@broadcom.com>2015-05-14 03:06:23 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-05-19 11:45:11 +0300
commit75e9143927a893aebad18b79e1bbeff4892c0d35 (patch)
tree18279c32a1c3f9a84592333d8b982c57bbd40bea
parente6c906dedb8a332ece0e789980eef340fdcd9e20 (diff)
downloadlinux-75e9143927a893aebad18b79e1bbeff4892c0d35.tar.xz
pinctrl: cygnus: fixed incorrect GPIO-pin mapping
This patch fixes an incorrect GPIO-to-pin mapping in the Cygnus GPIO driver Signed-off-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c b/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c
index 4ad5c1a996e3..e406e3d8c1c7 100644
--- a/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c
+++ b/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c
@@ -643,7 +643,9 @@ static const struct cygnus_gpio_pin_range cygnus_gpio_pintable[] = {
CYGNUS_PINRANGE(87, 104, 12),
CYGNUS_PINRANGE(99, 102, 2),
CYGNUS_PINRANGE(101, 90, 4),
- CYGNUS_PINRANGE(105, 116, 10),
+ CYGNUS_PINRANGE(105, 116, 6),
+ CYGNUS_PINRANGE(111, 100, 2),
+ CYGNUS_PINRANGE(113, 122, 4),
CYGNUS_PINRANGE(123, 11, 1),
CYGNUS_PINRANGE(124, 38, 4),
CYGNUS_PINRANGE(128, 43, 1),