[PATCH] pinctrl: meson: fix gpio request disabling other modes
From: Linus Walleij <hidden>
Date: 2016-12-28 12:41:15
Also in:
linux-amlogic, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2016-12-28 12:41:15
Also in:
linux-amlogic, linux-gpio, lkml
On Tue, Dec 6, 2016 at 3:08 PM, Neil Armstrong [off-list ref] 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>Patch applied for fixes. Sorry for the delay, merge window appeared inbetween. Yours, Linus Walleij