summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
diff options
context:
space:
mode:
authorYangtao Li <frank@allwinnertech.com>2020-11-10 09:22:55 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-11-24 11:40:03 +0300
commit6de7ed693c631d4689acfe90c434147598d75543 (patch)
treec72d7e5ed832e336f1a3eab76b340247ae144441 /drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
parentecb454594c43456bdeb1bd5cd68ac454db51b2c6 (diff)
downloadlinux-6de7ed693c631d4689acfe90c434147598d75543.tar.xz
pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller
A100's pin starts with PB, so it should start with 1. Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin controller") Signed-off-by: Yangtao Li <frank@allwinnertech.com> Link: https://lore.kernel.org/r/9db51667bf9065be55beafd56e5c319e3bbe8310.1604988979.git.frank@allwinnertech.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c')
-rw-r--r--drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c b/drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
index 19cfd1e76ee2..e69f6da40dc0 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c
@@ -677,7 +677,7 @@ static const struct sunxi_desc_pin a100_pins[] = {
SUNXI_FUNCTION_IRQ_BANK(0x6, 6, 19)),
};
-static const unsigned int a100_irq_bank_map[] = { 0, 1, 2, 3, 4, 5, 6};
+static const unsigned int a100_irq_bank_map[] = { 1, 2, 3, 4, 5, 6, 7};
static const struct sunxi_pinctrl_desc a100_pinctrl_data = {
.pins = a100_pins,