Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1313506yba; Tue, 2 Apr 2019 06:42:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMv+8cLDTAqwZs+Nbza0st0uUNYEuaq0xkuXAJrLf/T8k0UTjwd2vtKXCcDpbJryN8NjIQ X-Received: by 2002:aa7:9389:: with SMTP id t9mr5591011pfe.60.1554212532655; Tue, 02 Apr 2019 06:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554212532; cv=none; d=google.com; s=arc-20160816; b=USPuX+pCkiMQ/8OYhsuQ8uRRTGT72j/rXrcp6u78+u69FlMOn1T18kCKJEctCmS5yG EruH5lZBcGlosXJrskKywFd3KwUTJHV4hFJRrpQzPP2fca3gn31zRJCie5AMNmYSY74B N3o5hDRWSyy2E/Zlil5kXV+i1HEpwgZFnQgpsYSwxBL0DciajnMMk1JX8kl9eMfwCBsF l09nUOC93jWOaQGCZY3uMtS0Jb7/qiVSlKbNNBuVeDgybS08K+n8+oFqCVTFUQmdykN7 7BQOeRkwcJ328iaXPpJY6NEEs3nqqrxbbALpFoe4bLkXOqd2HwZ4LBQgoGWUQtm51K8s GwvA== 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=mFwq+1YWoNqwqRP8C2m19HNl2ZDNbnyac/gfJulnWXQ=; b=tP6XEiDkZOKh+Medcu093gWbwRgMaEKbpHapIEVcLxiwcbhnkwiM2P/wWvkmYf8f61 AqIZCyzuUlB/ojYQT2h6KZ7z0LGfmSxFXGFkpSMRSgWWn9sAS7F5stBEUP0l2toeVaQ1 b5+qMyy5cDoQy3R1RHlXB0Qp//gvaX0szpbJ0sAtuhVhavNF61MtOQ5Y3FraujCwPmVt 0J+PUFbKjLfD/O/zwG9siyVkumhJtsyS4YMLRjVjlcRrKzmYlHD3kB+tcbx5pObqB8m6 miniBSsyQQyTX/0EgmNKHJ0PMbPfKfKSFCY4VL5/nMeGoXvM+EIP2K5G37LKpT5WABt9 jQ2w== 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 71si5781565plc.97.2019.04.02.06.41.57; Tue, 02 Apr 2019 06:42:12 -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 S1731755AbfDBNkq (ORCPT + 99 others); Tue, 2 Apr 2019 09:40:46 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:43804 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731551AbfDBNkO (ORCPT ); Tue, 2 Apr 2019 09:40:14 -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 1hBJe7-0002oJ-C6; Tue, 02 Apr 2019 14:40:11 +0100 Received: from ben by deadeye with local (Exim 4.92) (envelope-from ) id 1hBJdw-0004um-PL; 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 , "Geert Uytterhoeven" , "Simon Horman" 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 54/99] pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10 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 054f2400f706327f96770219c3065b5131f8f154 upstream. Some values in the Peripheral Function Select Register 10 descriptor are shifted by one position, which may cause a peripheral function to be programmed incorrectly. Fixing this makes all HSCIF0 pins use Function 4 (value 3), like was already the case for the HSCK0 pin in field IP10[5:3]. 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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) --- a/drivers/pinctrl/sh-pfc/pfc-sh7734.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7734.c @@ -2218,22 +2218,22 @@ static const struct pinmux_cfg_reg pinmu /* IP10_22 [1] */ FN_CAN_CLK_A, FN_RX4_D, /* IP10_21_19 [3] */ - FN_AUDIO_CLKOUT, FN_TX1_E, FN_HRTS0_C, FN_FSE_B, - FN_LCD_M_DISP_B, 0, 0, 0, + FN_AUDIO_CLKOUT, FN_TX1_E, 0, FN_HRTS0_C, FN_FSE_B, + FN_LCD_M_DISP_B, 0, 0, /* IP10_18_16 [3] */ - FN_AUDIO_CLKC, FN_SCK1_E, FN_HCTS0_C, FN_FRB_B, - FN_LCD_VEPWC_B, 0, 0, 0, + FN_AUDIO_CLKC, FN_SCK1_E, 0, FN_HCTS0_C, FN_FRB_B, + FN_LCD_VEPWC_B, 0, 0, /* IP10_15 [1] */ FN_AUDIO_CLKB_A, FN_LCD_CLK_B, /* IP10_14_12 [3] */ FN_AUDIO_CLKA_A, FN_VI1_CLK_B, FN_SCK1_D, FN_IECLK_B, FN_LCD_FLM_B, 0, 0, 0, /* IP10_11_9 [3] */ - FN_SSI_SDATA3, FN_VI1_7_B, FN_HTX0_C, FN_FWE_B, - FN_LCD_CL2_B, 0, 0, 0, + FN_SSI_SDATA3, FN_VI1_7_B, 0, FN_HTX0_C, FN_FWE_B, + FN_LCD_CL2_B, 0, 0, /* IP10_8_6 [3] */ - FN_SSI_SDATA2, FN_VI1_6_B, FN_HRX0_C, FN_FRE_B, - FN_LCD_CL1_B, 0, 0, 0, + FN_SSI_SDATA2, FN_VI1_6_B, 0, FN_HRX0_C, FN_FRE_B, + FN_LCD_CL1_B, 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,