Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1313778yba; Tue, 2 Apr 2019 06:42:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGSq1ebJ7D+X/56SczgLXoUE+raK9BnkmyzAGEceHY8oXf7OCcgjj9I863JRIjszy82Z1b X-Received: by 2002:a63:525f:: with SMTP id s31mr66158666pgl.172.1554212550102; Tue, 02 Apr 2019 06:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554212550; cv=none; d=google.com; s=arc-20160816; b=qjwte6K91yHQLCrUhpf5gyTteqIxJwPYAYVLELGWafOrjFeq/KvuNjK7yRvYU44HEw Hc5sYbInISbcQdkvFPe3voTmPlv21vlWcJi78ra3RB/q4wLrMNf7wvNaxwaz7Atea+Pp WpGJC/uPspUop0hclkK9O/OxeLixVTWdpOkyI2b3CMvi4seIG+z5kKmaefQEtrgq8vs6 LYcoo8v/sOI7F6PsLYXmppJueUazDfjeE4DjNckWvt9nBJ2HA7Gm/5cQlFjSJtiz/+OA BtToAqG4aRDIyv+MlxKUw9VA8GWK0FE3ulQ9MUadRBYGe/ePCaV0waFe5k4ppr6m7SbQ 3iig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=mmoBf8/6xUJjtiyRQ9lw9iyoUeZ/VVLsLyvLzKvs4lE=; b=mu1yzzcy0sNQMyT5tBvvfDOQTM4eX7nPiy0SlKTC/0dUVJBqgnZA9UnLp0B2O3OsQ+ vB/Cbbx6ZnA3sANDMJ1geLH+53bP6SIR952XWQ7g1mmBmA+OLkh3pGjoFv4ghuzy09Xo Ptf2fB/j6aBf3mi3D+4K77k9fiFbulL5KhAIIZBY2Rnm/BRyuBoh9gWT0EIl+S89bVQw TnWucP25q8WfcBSZRgckB3570FP+96mLnJzlTrpYlr7Qk8uOUfHGugsdu4pyeFXwUuUz b4zV5UoUxkA4JFLhsRoncfDO7JjXU55iGuTUOaBRHWQXabDj6LfN8060dDymUx/HcXrI TsSQ== 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 a10si10882250pgt.357.2019.04.02.06.42.14; Tue, 02 Apr 2019 06:42:30 -0700 (PDT) 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 S1731744AbfDBNkp (ORCPT + 99 others); Tue, 2 Apr 2019 09:40:45 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:43778 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731549AbfDBNkN (ORCPT ); Tue, 2 Apr 2019 09:40:13 -0400 Received: from [167.98.27.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hBJe6-0002nu-Sz; Tue, 02 Apr 2019 14:40:11 +0100 Received: from ben by deadeye with local (Exim 4.92) (envelope-from ) id 1hBJdw-0004uh-OC; Tue, 02 Apr 2019 14:40:00 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Simon Horman" , "Geert Uytterhoeven" Date: Tue, 02 Apr 2019 14:38:27 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 53/99] pinctrl: sh-pfc: sh7734: Remove bogus IPSR10 value In-Reply-To: X-SA-Exim-Connect-IP: 167.98.27.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.65-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven commit 4d374bacd7c9665179f9752a52d5d602c45d8190 upstream. The IP10[5:3] field in Peripheral Function Select Register 10 has a width of 3 bits, i.e. it allows programming one out of 8 different configurations. However, 9 values are provided instead of 8, overflowing into the subsequent field in the register, and thus breaking the configuration of the latter. Fix this by dropping a bogus zero value. Fixes: ac1ebc2190f575fc ("sh-pfc: Add sh7734 pinmux support") Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman Signed-off-by: Ben Hutchings --- drivers/pinctrl/sh-pfc/pfc-sh7734.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/sh-pfc/pfc-sh7734.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7734.c @@ -2236,7 +2236,7 @@ static const struct pinmux_cfg_reg pinmu FN_LCD_CL1_B, 0, 0, 0, /* IP10_5_3 [3] */ FN_SSI_WS23, FN_VI1_5_B, FN_TX1_D, FN_HSCK0_C, FN_FALE_B, - FN_LCD_DON_B, 0, 0, 0, + FN_LCD_DON_B, 0, 0, /* IP10_2_0 [3] */ FN_SSI_SCK23, FN_VI1_4_B, FN_RX1_D, FN_FCLE_B, FN_LCD_DATA15_B, 0, 0, 0 }