]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit2fac9c020f5865760490fa79064f90f116383dad
tree7855559ea75bc470e3d25eb43ec8614ae966ccd0
parent88938aff217121061866f17cfd5da983b9ad3b44
pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11

BugLink: https://bugs.launchpad.net/bugs/1837257
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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c