]> git.baikalelectronics.ru Git - 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)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Dec 2018 12:32:19 +0000 (13:32 +0100)
commit7e971777f43938c5605878c7ffd891b609c0f695
tree1bd7b6c627f8c3e184f0b728077fe19109021356
parentcef054e573f95b4d7f8797bdfc070c110e2fbee6
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: 23ab8c18ae77 ("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