[PATCH] pinctrl: meson: fix gpio request disabling other modes
From: khilman@baylibre.com (Kevin Hilman)
Date: 2016-12-07 00:47:45
Also in:
linux-amlogic, linux-gpio, lkml
From: khilman@baylibre.com (Kevin Hilman)
Date: 2016-12-07 00:47:45
Also in:
linux-amlogic, linux-gpio, lkml
Neil Armstrong [off-list ref] writes:
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 <redacted>
Signed-off-by: Neil Armstrong <redacted>Acked-by: Kevin Hilman <khilman@baylibre.com>