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)
commit984cffdeaeb7ea5a21f49a89f638d84d62d08992
tree1251eeeeed538d8ba92b9f2788be9fdf817f40b5
parent75e9143927a893aebad18b79e1bbeff4892c0d35
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