]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: mvebu: armada-39x: fix incorrect total number of GPIOs
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 16:47:01 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:28:57 +0000 (09:28 -0700)
commit665a170e81d002fe355e03cef2ae01401de97d71
treecd53fcecfe0846838c1104145016b6fed0680b60
parent32ebad3d19ecad29837467bf4a6d0857a50ed03d
pinctrl: mvebu: armada-39x: fix incorrect total number of GPIOs

commit 7c580311a2cb3bb0d0188665c9c69227aed650ea upstream.

The pinctrl_gpio_range[] array described a first bank of 32 GPIOs and
a second one of 27 GPIOs. However, since there is a total of 60 MPP
pins that can be muxed as GPIOs, the second bank really has 28 GPIOs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fixes: ee086577abe7f ("pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/mvebu/pinctrl-armada-39x.c