diff mbox

[2/2] pinctrl: cygnus: fixed incorrect GPIO-pin mapping

Message ID 1431561983-8543-3-git-send-email-rjui@broadcom.com
State New
Headers show

Commit Message

Ray Jui May 14, 2015, 12:06 a.m. UTC
This patch fixes an incorrect GPIO-to-pin mapping in the Cygnus GPIO
driver

Signed-off-by: Ray Jui <rjui@broadcom.com>
---
 drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Linus Walleij May 19, 2015, 8:45 a.m. UTC | #1
On Thu, May 14, 2015 at 2:06 AM, Ray Jui <rjui@broadcom.com> wrote:

> This patch fixes an incorrect GPIO-to-pin mapping in the Cygnus GPIO
> driver
>
> Signed-off-by: Ray Jui <rjui@broadcom.com>

Patch applied for fixes.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c b/drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c
index bde45ba..e8c50f0 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),