pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
authorChen-Yu Tsai <wens@csie.org>
Tue, 4 Dec 2018 09:04:57 +0000 (17:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:13:04 +0000 (14:13 +0100)
commit7ff0bcb2cb31602dd347b216f5f70851102d5067
tree77d4bf4dc9030629127d90c5dd73cc26d3686d0c
parent30c64b5a4f2b88de1c69fcc556eb4a1238ad5ac3
pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11

commit 478b6767ad26ab86d9ecc341027dd09a87b1f997 upstream.

Pin PH11 is used on various A83T board to detect a change in the OTG
port's ID pin, as in when an OTG host cable is plugged in.

The incorrect offset meant the gpiochip/irqchip was activating the wrong
pin for interrupts.

Fixes: 4730f33f0d82 ("pinctrl: sunxi: add allwinner A83T PIO controller support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c