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)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Dec 2018 12:32:19 +0000 (13:32 +0100)
commit478b6767ad26ab86d9ecc341027dd09a87b1f997
tree1bd7b6c627f8c3e184f0b728077fe19109021356
parent614b1868a125a0ba24be08f3a7fa832ddcde6bca
pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11

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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c