Skip to content

Commit f547b3d

Browse files
IcenowyLinus Walleij
authored andcommitted
pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base
The V3s pin controller doesn't have the bank 0 (starts at address 0x200), which is like A33. However, this is not worked around when developing the driver, which makes IRQ not working. Fix the IRQ bank base. Fixes: 56d9e4a ("pinctrl: sunxi: add driver for V3s SoC") Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 3f713b7 commit f547b3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ static const struct sunxi_pinctrl_desc sun8i_v3s_pinctrl_data = {
297297
.pins = sun8i_v3s_pins,
298298
.npins = ARRAY_SIZE(sun8i_v3s_pins),
299299
.irq_banks = 2,
300+
.irq_bank_base = 1,
300301
.irq_read_needs_mux = true
301302
};
302303

0 commit comments

Comments
 (0)