Received: by 10.223.185.116 with SMTP id b49csp1100795wrg; Fri, 23 Feb 2018 11:58:18 -0800 (PST) X-Google-Smtp-Source: AH8x225mt+VoAkN5Aog7UQdXmDJ+l4bebfeJNCtqhJAnhQsQqrxWbwVINzwBxxxuqSeplbMeo/ba X-Received: by 2002:a17:902:70cb:: with SMTP id l11-v6mr2788837plt.192.1519415898730; Fri, 23 Feb 2018 11:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415898; cv=none; d=google.com; s=arc-20160816; b=e65MmhSDcVgikvDtb8fqESTS6gDcsGv5mnFQFBHc5vXtPLayfFKSRl51+/OspSUIpM 4JyHrLl2grk5W9e8wcu7pU3GGn8hU4jV32fR7JIxzdsK0DPH5cTMiU1lxA37jmzgSn5o MQjmU4o+63Bu4NMfORHnJCavsHTU6vbphTY5rbSpfqRVDhaTzIcElI24rlyaRTINREqQ 4Z/E+HsUpnXKIftp1AqATGHuvrEizzHp/GUU/0nF46CjqEqkfbK/cLzIoMNAMer+fLfv LwOpfgEvqRPQD3AQQNByf9NAUNx/o17WdZCxuPLEE/lbg1fIt/fEo7RCXWxuA0lZih2m GzTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZnVg/ApTnwa9n9vv/HzpuLjnM4Lsm1PXnuGgtUHWSQ0=; b=zlkgAluICiOW8M+0uI/daB/1YMX5/U/qci5b/Ajz8s7F+WW/i+7C61mhYtoTxtl039 Oh8YpdGrxQ4R7ctkg49HcI9AABvx5/dCPpAcTJnVhnTmsSQZ/ZvEnlo4Aqz8f6Y3jfyS 1hs2YMPTzPwlGWFa6lmZnkGeqaM8ythtknC84kNizh6EDQ1u+naufEWlenhFBRv+sz7F 9uHhM9OH4vSJyLlVYhhk3ZflNKVmCeFa2xb4Mg3ww1vz1KbpiTXoTQTLWSxlcdQj+BUb tfYmTZzObJGjWDhM06LYCM79D2d6SEHQ1LABWsMddYNupWyFMuEEKEPXHG1pCVFx0S/G By9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j127si1885348pgc.653.2018.02.23.11.58.04; Fri, 23 Feb 2018 11:58:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933606AbeBWSoe (ORCPT + 99 others); Fri, 23 Feb 2018 13:44:34 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:42556 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933575AbeBWSo3 (ORCPT ); Fri, 23 Feb 2018 13:44:29 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 06768122E; Fri, 23 Feb 2018 18:44:28 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andre Przywara , Chen-Yu Tsai , Linus Walleij , Sasha Levin Subject: [PATCH 4.9 054/145] pinctrl: sunxi: Fix A64 UART mux value Date: Fri, 23 Feb 2018 19:26:00 +0100 Message-Id: <20180223170731.895720353@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andre Przywara [ Upstream commit 7c5c2c2d18d778e51fd8b899965097168306031c ] To use pin PF4 as the RX signal of UART0, we have to write 0b011 into the respective pin controller register. Fix the wrong value we had in our table so far. Fixes: 96851d391d02 ("drivers: pinctrl: add driver for Allwinner A64 SoC") Signed-off-by: Andre Przywara Acked-by: Chen-Yu Tsai Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c @@ -428,7 +428,7 @@ static const struct sunxi_desc_pin a64_p SUNXI_FUNCTION(0x0, "gpio_in"), SUNXI_FUNCTION(0x1, "gpio_out"), SUNXI_FUNCTION(0x2, "mmc0"), /* D3 */ - SUNXI_FUNCTION(0x4, "uart0")), /* RX */ + SUNXI_FUNCTION(0x3, "uart0")), /* RX */ SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 5), SUNXI_FUNCTION(0x0, "gpio_in"), SUNXI_FUNCTION(0x1, "gpio_out"),