From patchwork Thu Nov 22 16:28:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 1784041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 95F903FC64 for ; Thu, 22 Nov 2012 16:32:39 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbZeZ-0004wZ-4H; Thu, 22 Nov 2012 16:29:27 +0000 Received: from relmlor4.renesas.com ([210.160.252.174]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbZeU-0004wG-CT for linux-arm-kernel@lists.infradead.org; Thu, 22 Nov 2012 16:29:23 +0000 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor4.idc.renesas.com ( SJSMS) with ESMTP id <0MDW004JSDSRQOB0@relmlor4.idc.renesas.com> for linux-arm-kernel@lists.infradead.org; Fri, 23 Nov 2012 01:29:15 +0900 (JST) Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0MDW0016NDSR09C0@relmlir4.idc.renesas.com> for linux-arm-kernel@lists.infradead.org; Fri, 23 Nov 2012 01:29:15 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 3E7CB80179; Fri, 23 Nov 2012 01:29:15 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 2F47B80177; Fri, 23 Nov 2012 01:29:15 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id BAC24202; Fri, 23 Nov 2012 01:29:15 +0900 X-IronPort-AV: E=Sophos; i="4.83,302,1352041200"; d="scan'208"; a="107365977" Received: from unknown (HELO relay41.aps.necel.com) ([10.29.19.9]) by relmlii2.idc.renesas.com with ESMTP; Fri, 23 Nov 2012 01:29:14 +0900 Received: from julia (du2com5.eu.necel.com [172.29.24.35] (may be forged)) by relay41.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id qAMGTEeJ026565; Fri, 23 Nov 2012 01:29:14 +0900 (JST) Received: by julia (Postfix, from userid 2) id EA9E24E822; Thu, 22 Nov 2012 17:29:13 +0100 (CET) Received: from du0nohub.eu.necel.com (unknown [172.29.24.70]) by julia (Postfix) with ESMTP id D14794E823; Thu, 22 Nov 2012 17:29:13 +0100 (CET) Received: from duacsls.ad.ree.renesas.com ([172.29.43.47]) by du0nohub.eu.necel.com (Lotus Domino Release 8.5.3 HF466) with ESMTP id 2012112217290958-3258 ; Thu, 22 Nov 2012 17:29:09 +0100 From: Phil Edworthy To: Simon , linux-sh@vger.kernel.org Subject: [PATCH] ARM: shmobile: r8a7779: Fix PFC - MOD_SEL2 missed an entry X-Mailer: git-send-email 1.7.5.4 X-TNEFEvaluated: 1 Message-id: <1353601737-21641-1-git-send-email-phil.edworthy@renesas.com> Date: Thu, 22 Nov 2012 16:28:57 +0000 X-MIMETrack: Itemize by SMTP Server on DU0NOHUB/NECEE(Release 8.5.3 HF466|March 09, 2012) at 22.11.2012 17:29:09, Serialize by Router on DU0NOHUB/NECEE(Release 8.5.3 HF466|March 09, 2012) at 22.11.2012 17:29:13, Serialize complete at 22.11.2012 17:29:13 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121122_112922_646270_D6F115A3 X-CRM114-Status: GOOD ( 10.83 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Phil Edworthy , Laurent Pinchart , Magnus , Kuninori Morimoto , stable@kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- arch/arm/mach-shmobile/pfc-r8a7779.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-shmobile/pfc-r8a7779.c b/arch/arm/mach-shmobile/pfc-r8a7779.c index 9fac32e4..15f6a48 100644 --- a/arch/arm/mach-shmobile/pfc-r8a7779.c +++ b/arch/arm/mach-shmobile/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] */