Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3713142pxb; Mon, 9 Nov 2020 20:08:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz55bs1qGSy2j8uidKTyh0kkGBkWWGd2YKJtPZj9LaaJjYPupoANQeQMXJ+Op+5BIDvEFJI X-Received: by 2002:a17:906:892:: with SMTP id n18mr17863246eje.1.1604981335326; Mon, 09 Nov 2020 20:08:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604981335; cv=none; d=google.com; s=arc-20160816; b=SL0fLwyfJNyAWF6aEuDJEb7ZWqzlpGvwPKLUQqBfkgdpWgEX4v+t4whVhKWTxprodu WHFumGIowqoov4G4hLS6CU3vFU2lTDqRgtqMaBM6VRmGGa6e6KVCFhlZmiv0lbbHSGNR wvrnf1+uuRNkblnwvEQOXTFPbghSuOHArLConsDOxy7+TM+Y7mAepo29lZg10Zp1dnFx Wc8bOo26bJbWn9PbNpOAB7W8kGJtr8D+DUqNKZcwtmvJEhG+RPz2oQEczfnGEs6iZddy qrMlNFP41vOy1y+ijVIsByi10dN2bd7vbnLPwb4+U5ADOrmW2EgR9OiQbF+qPp3inXHQ cODw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jAXpnjk2o6VqCOXsDlFQpHanUCSQhb+RiEntqURb57c=; b=I3R1TGf1I1pxRZRMCgDvmUWlPitAKJxk8aaejyfT+zY3d7vexrnD9L8wWdN1NOS3tv sgzgCVE99wlUHdMpXsXrvC/MWD+CFbir351B8MU/frcK414zVWHgJxMKIPlLU0COA2Vg Kib6eyohwGEhnNlzWu4lA2Z6XXgUpQp/aMv0E6n4aYEB8NviJH+ptnKdan03zLWBvOt7 o6XxJ0ZBX0XrhzftrLYjxbZql/tgOZoXcaicaajNn5kQ0dqOleVpewNaCwSOh7MhLPgs VpevFS9cAApKJKjiTybybWdMBMsS1474z7g5n9co1XeDJ7d2wGL9gU92to+LmQ7VViI9 8cSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z34si9507932ede.351.2020.11.09.20.08.32; Mon, 09 Nov 2020 20:08:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387427AbgKJEGS (ORCPT + 99 others); Mon, 9 Nov 2020 23:06:18 -0500 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:49383 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731366AbgKJEGR (ORCPT ); Mon, 9 Nov 2020 23:06:17 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.7611352|0.8967155;CH=green;DM=|SPAM|false|;DS=CONTINUE|ham_system_inform|0.0234519-0.000501654-0.976046;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047188;MF=frank@allwinnertech.com;NM=1;PH=DS;RN=28;RT=28;SR=0;TI=SMTPD_---.IulFdj5_1604981159; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.IulFdj5_1604981159) by smtp.aliyun-inc.com(10.147.42.135); Tue, 10 Nov 2020 12:06:10 +0800 From: Frank Lee To: vkoul@kernel.org, robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, ulf.hansson@linaro.org, kishon@ti.com, wim@linux-watchdog.org, linux@roeck-us.net, dan.j.williams@intel.com, linus.walleij@linaro.org, wsa+renesas@sang-engineering.com, dianders@chromium.org, marex@denx.de, colin.king@canonical.com, rdunlap@infradead.org, krzk@kernel.org, gregkh@linuxfoundation.org, megous@megous.com, rikard.falkeborn@gmail.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-gpio@vger.kernel.org, tiny.windzz@gmail.com Cc: Yangtao Li Subject: [PATCH 01/19] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller Date: Tue, 10 Nov 2020 12:05:35 +0800 Message-Id: <20201110040553.1381-2-frank@allwinnertech.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201110040553.1381-1-frank@allwinnertech.com> References: <20201110040553.1381-1-frank@allwinnertech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangtao Li 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 --- 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