]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 16:47:00 +0000 (18:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Jun 2015 08:57:02 +0000 (10:57 +0200)
commit030638dc44e0f589f1f32c72c917efb3444e0949
treef63b5a1d73a947f4e8f2151a557e6e3bcfb4a3c9
parentda946399bac22e7643cf6bef8a04fdaf57c6f6e9
pinctrl: mvebu: armada-38x: fix incorrect total number of GPIOs

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>
Cc: <stable@vger.kernel.org> # v3.15+
Fixes: 0597bb76126cb ("pinctrl: mvebu: add pin-muxing driver for the Marvell Armada 380/385")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-38x.c