]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: Fix gpio/pin mapping for Meson8b
authorCarlo Caione <carlo@endlessm.com>
Sun, 17 May 2015 15:57:38 +0000 (17:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 May 2015 09:40:52 +0000 (11:40 +0200)
commit79f6d5bafa8c2bc92ecc79c7072869c67a3d31d1
tree1251eeeeed538d8ba92b9f2788be9fdf817f40b5
parent8b4e99b9fbe33b5014f1c1f2373f29bea632aa17
pinctrl: Fix gpio/pin mapping for Meson8b

The num_pins field in the struct meson_domain_data must include also the
missing pins in the Meson8b SoC, otherwise the GPIO <-> pin mapping is
broken on this platform. Avoid also the dinamic allocation for GPIOs.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/meson/pinctrl-meson8b.c