Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9080600pxu; Mon, 28 Dec 2020 06:10:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxsGV7fxVEfxgGNFzs48x3xtPF/b5SBDohhsHERNh7w1oTo3rrbs1lIorMcbBiYLYW10ja X-Received: by 2002:a50:f089:: with SMTP id v9mr43524169edl.353.1609164625665; Mon, 28 Dec 2020 06:10:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609164625; cv=none; d=google.com; s=arc-20160816; b=uNdPIDIL2vy8jQOLqN0ZyZapK6UqP6g/jodmJ0P3FMT0aIt7zhOeImxXRopOtQnLPm yoacNUhPJwg/Q8Qo3vaPyX2/gIu/N6PvNEapqeh97ptQYrZqTnJYhCgPzuRFpcXzIr8i /eTqsAUuC7+oKv3HH8+CYoDWx+aFOtuhzCFHzWV8N8dNYQLSDfR9ln/8GKj7zAmpAf3q q8deilMCBhXM0h47rUNaC9DI4firkUoNc25K+NgO7sQfaHBC1KYsoBC4iwr34OGbv3CP RH1U0xhXI2yZbGcL24fpmxn2om6F911nIfuDiXIJ1ZE9zdtQ3ikhNMX3oL4+axh/pGc+ iFRg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HAp+tX4soiiup78zg0ESK0sF1bRYNW+OK3LzGDvXwps=; b=VHqJOG62dGpXf6ZTHeenRWwVGLFGnwChmhTQz7NQWNJT06It5z18mtCg0UaKAHeUPr b32eNLurPrd+pDZxu0PhJ425KzkFqeGG9OnORer21RosAQQo5QMMm8gjWmGSunzC5EPo yjwKcH9LLTe0P/TSVT4oepCji6y04K5JEtZ7hhFItFUoygKUVwFvShdXwE0bD2PgXBRW G15s+Imzf2CD4QVBIVWXiPaOaYL0Dvvs+VFmAHK4+X9wjOhtVijhJQnD14hJA04YVwjY Fwe0fPWTWZeRWpjlvy40YLHBOYkA0FJ6vDIhSi+KNA83q+G4a43xLL3R4jhYXbECxMif bIdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BGT04fy0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si18181844ejh.264.2020.12.28.06.10.02; Mon, 28 Dec 2020 06:10:25 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BGT04fy0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438607AbgL1OIL (ORCPT + 99 others); Mon, 28 Dec 2020 09:08:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:41714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438558AbgL1OIA (ORCPT ); Mon, 28 Dec 2020 09:08:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3306F20791; Mon, 28 Dec 2020 14:07:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164464; bh=KETyg2mYXuSuwdGb4ZTAu1V6hN3YJwXhYjzH4/YJu68=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BGT04fy0IcI+bwQmqWYDai7qwycE+pvYS5es1ublT/AZLqz9gydBpzy3E+gdicXT8 q+DU2jgnCyK75WJFAnKrOcy/7GQBuDKJsMNsq27YmETe8z9oep+QqrB8Keam/Cm10o WgApPW2DT9eRSQQIpUjX1glcALypNL5wK4XaEc1E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yangtao Li , Linus Walleij , Sasha Levin Subject: [PATCH 5.10 190/717] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller Date: Mon, 28 Dec 2020 13:43:08 +0100 Message-Id: <20201228125030.074063648@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangtao Li [ Upstream commit 6de7ed693c631d4689acfe90c434147598d75543 ] 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 Link: https://lore.kernel.org/r/9db51667bf9065be55beafd56e5c319e3bbe8310.1604988979.git.frank@allwinnertech.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- 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 19cfd1e76ee2c..e69f6da40dc0a 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.27.0