]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:09:49 +0000 (14:09 +0100)
commita5365ad60df2d488fc99e05c0fcba6dfeec59dd6
tree5f10b54f91c0df2d015782b68cb2921303ff8756
parentf9b94f823aebb377bdd7e8e8e3de982e9df82606
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