]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: meson: fix gpio request disabling other modes
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Dec 2016 14:08:16 +0000 (15:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Dec 2016 20:04:45 +0000 (21:04 +0100)
commitf24d311f92b516a8aadef5056424ccabb4068e7b
tree4df10ebef5093d3ac941c4734345326501f57eca
parent2983f296f2327bc517e3b29344fce82271160197
pinctrl: meson: fix gpio request disabling other modes

The pinctrl_gpio_request is called with the "full" gpio number, already
containing the base, then meson_pmx_request_gpio is then called with the
final pin number.
Remove the base addition when calling meson_pmx_disable_other_groups.

Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs")
CC: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Acked-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson.c