[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201110040553.1381-2-frank@allwinnertech.com>
Date: Tue, 10 Nov 2020 12:05:35 +0800
From: Frank Lee <frank@...winnertech.com>
To: vkoul@...nel.org, robh+dt@...nel.org, mripard@...nel.org,
wens@...e.org, ulf.hansson@...aro.org, kishon@...com,
wim@...ux-watchdog.org, linux@...ck-us.net,
dan.j.williams@...el.com, linus.walleij@...aro.org,
wsa+renesas@...g-engineering.com, dianders@...omium.org,
marex@...x.de, colin.king@...onical.com, rdunlap@...radead.org,
krzk@...nel.org, gregkh@...uxfoundation.org, megous@...ous.com,
rikard.falkeborn@...il.com, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-gpio@...r.kernel.org,
tiny.windzz@...il.com
Cc: Yangtao Li <frank@...winnertech.com>
Subject: [PATCH 01/19] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller
From: Yangtao Li <frank@...winnertech.com>
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@...winnertech.com>
---
drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.28.0
Powered by blists - more mailing lists