From patchwork Thu May 30 09:31:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 2634201 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6B75440077 for ; Thu, 30 May 2013 09:31:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030282Ab3E3Jbp (ORCPT ); Thu, 30 May 2013 05:31:45 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:59973 "EHLO relmlor4.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030278Ab3E3Jbo (ORCPT ); Thu, 30 May 2013 05:31:44 -0400 Received: from relmlir3.idc.renesas.com ([10.200.68.153]) by relmlor4.idc.renesas.com ( SJSMS) with ESMTP id <0MNL00L7IUGUA920@relmlor4.idc.renesas.com> for linux-sh@vger.kernel.org; Thu, 30 May 2013 18:31:42 +0900 (JST) Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir3.idc.renesas.com ( SJSMS) with ESMTP id <0MNL009DYUGUXB10@relmlir3.idc.renesas.com> for linux-sh@vger.kernel.org; Thu, 30 May 2013 18:31:42 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id ADA8A80179; Thu, 30 May 2013 18:31:42 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id A07F9801AF; Thu, 30 May 2013 18:31:42 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id UAW14622; Thu, 30 May 2013 18:31:42 +0900 X-IronPort-AV: E=Sophos; i="4.87,769,1363100400"; d="scan'208"; a="129093771" Received: from unknown (HELO relay61.aps.necel.com) ([10.29.19.64]) by relmlii2.idc.renesas.com with ESMTP; Thu, 30 May 2013 18:31:42 +0900 Received: from julia (du2com5.eu.necel.com [172.29.24.35] (may be forged)) by relay61.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id r4U9Vfkr008119; Thu, 30 May 2013 18:31:41 +0900 (JST) Received: by julia (Postfix, from userid 2) id 2E37D4EC03; Thu, 30 May 2013 11:31:41 +0200 (CEST) Received: from du0smtp.eu.necel.com (unknown [172.29.24.86]) by julia (Postfix) with ESMTP id 2477F4EBFC; Thu, 30 May 2013 11:31:41 +0200 (CEST) Received: from duacsls.ad.ree.renesas.com ([172.29.43.47]) by du0smtp.eu.necel.com (Lotus Domino Release 8.5.3 HF466) with ESMTP id 2013053011314036-715358 ; Thu, 30 May 2013 11:31:40 +0200 From: Phil Edworthy To: Simon Cc: linux-sh@vger.kernel.org, Laurent Pinchart , Phil Edworthy Subject: [PATCH] pinctrl: sh-pfc: r8a7779: Fix missing MOD_SEL2 entry X-Mailer: git-send-email 1.7.9.5 X-TNEFEvaluated: 1 Message-id: <1369906266-30205-1-git-send-email-phil.edworthy@renesas.com> Date: Thu, 30 May 2013 10:31:06 +0100 X-MIMETrack: Itemize by SMTP Server on DU0SMTP/EE/NECEE(Release 8.5.3 HF466|March 09, 2012) at 30.05.2013 11:31:40, Serialize by Router on DU0SMTP/EE/NECEE(Release 8.5.3 HF466|March 09, 2012) at 30.05.2013 11:31:41, Serialize complete at 30.05.2013 11:31:41 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org The list of functions selected by the MOD_SEL2 register was missing an entry. This caused all entries after this to modify the MOD_SEL2 register incorrectly. Signed-off-by: Phil Edworthy Acked-by: Laurent Pinchart --- drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c index 13feaa0..5dfeb3e 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c @@ -2525,7 +2525,7 @@ static struct pinmux_cfg_reg pinmux_config_regs[] = { /* SEL_SCIF [2] */ FN_SEL_SCIF_0, FN_SEL_SCIF_1, FN_SEL_SCIF_2, FN_SEL_SCIF_3, /* SEL_CANCLK [2] */ - FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2, + FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2, 0, /* SEL_CAN0 [1] */ FN_SEL_CAN0_0, FN_SEL_CAN0_1, /* SEL_HSCIF1 [1] */