]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: sunxi: Fix A80 interrupt pin bank
authorAndre Przywara <andre.przywara@arm.com>
Sat, 25 Nov 2017 12:19:48 +0000 (12:19 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Nov 2017 15:47:37 +0000 (16:47 +0100)
commit6ad4cc8d1ac483e0fd33f605fb2788b0ecf51ed4
treef5e4a72c7deafe9425f12244d0d3a698361af1fe
parent793b9184047f3d7fe4fe234a46951dabfc3cfeeb
pinctrl: sunxi: Fix A80 interrupt pin bank

On the A80 the pins on port B can trigger interrupts, and those are
assigned to the second interrupt bank.
Having two pins assigned to the same interrupt bank/pin combination does
not look healthy (instead more like a copy&paste bug from pins PA14-PA16),
so fix the interrupt bank for pins PB14-PB16, which is actually 1.

I don't have any A80 board, so could not test this.

Fixes: d5e9fb31baa2 ("pinctrl: sunxi: Add A80 pinctrl muxing options")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c