[PATCH] pinctrl: meson: fix gpio request disabling other modes
From: Beniamino Galvani <hidden>
Date: 2016-12-11 21:50:44
Also in:
linux-amlogic, linux-gpio, lkml
From: Beniamino Galvani <hidden>
Date: 2016-12-11 21:50:44
Also in:
linux-amlogic, linux-gpio, lkml
On Tue, Dec 06, 2016 at 03:08:16PM +0100, Neil Armstrong wrote:
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: Beniamino Galvani <redacted>