From patchwork Tue May 17 08:42:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9110641 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1CACA9F1C3 for ; Tue, 17 May 2016 08:42:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 76A24202E9 for ; Tue, 17 May 2016 08:42:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC2E2202DD for ; Tue, 17 May 2016 08:42:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873AbcEQImV (ORCPT ); Tue, 17 May 2016 04:42:21 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:53177 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754240AbcEQImR (ORCPT ); Tue, 17 May 2016 04:42:17 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 17 May 2016 17:42:15 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id D16585F87C; Tue, 17 May 2016 17:42:15 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id BDCA72806E; Tue, 17 May 2016 17:42:15 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id BA3642806D; Tue, 17 May 2016 17:42:15 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id TAP28924; Tue, 17 May 2016 17:42:15 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="211001796" Received: from mail-hk2apc01lp0214.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.214]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 May 2016 17:42:14 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k6IboKGbBcAHJVMnC7wQqZV12wAxOd7eX3Gcu+Tj3fU=; b=ntKEk99bbGKjoUMt7FDYuwNGump1gDKxAbNK6honKGRdFYJB5ZZggL2BanoeVDStyNI04mMbB54GrXUsqR3PwoFVYMMse0z7/Wq3LOq7mIZm28D0UdCi7egzAUXTbbHNEmwdL9LoyLoNr0ENM0TStS2e5VKU3F3fDupQ4VBH658= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by PS1PR06MB1708.apcprd06.prod.outlook.com (10.167.53.18) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 17 May 2016 08:42:12 +0000 Message-ID: <87h9dx6pzi.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Mark Brown CC: Simon , Magnus , Linux-Renesas , Linux-ALSA , Liam Girdwood , Hiroyuki Yokoyama Subject: [PATCH v2] ASoC: rsnd: open 31bit of SSICKR mask User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Tue, 17 May 2016 08:42:12 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0054.jpnprd01.prod.outlook.com (10.165.51.142) To PS1PR06MB1708.apcprd06.prod.outlook.com (10.167.53.18) X-MS-Office365-Filtering-Correlation-Id: 94c4bb6a-7108-4a66-5d24-08d37e2f249f X-Microsoft-Exchange-Diagnostics: 1; PS1PR06MB1708; 2:JTFq1DPVBwsXZi3Y3QVM8VubzOb5WIYNNHlfOoCKdgGW6kqJkYDk3cITMj2bCO9rxy4uU5B02WYjUVzQu/5YqAIv/cLKvOd1L+bwyZ6cyWpY1CqWbP7+VQsQl6C+0wUkQt/N1ROJAySNEj0atqQfDqb72dmWRqFO2XZW0TKJd3CFnuNm3Yc4sf7L+mt7+7fV; 3:Xpp7lI74DhIfRKKHYdwyv85BQFkGeSfmOT/aoSkFg8M69/UmvDiaWT1pJCC0IGnhIaZQ1r6h03gkHdfMQ2lCIawtZMdNq1Fd8OMD8NpSTuOlVcxsYOAXmL3kEv7cIutN X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR06MB1708; X-Microsoft-Exchange-Diagnostics: 1; PS1PR06MB1708; 25:aXchAFZCv0p9VTT8syFcf8lI9HzItdb4KCB2rYmTjMOC0Km4aLQ8uvMsFoRYjxdiyrjnnMzxwsd91iaPP89RCSbMavtNFcdQKtusjYEj25R4mcVWZ6ejiv4+16Uyd+iEX8ExSmpN+qXYCoITNqwSqlSXi22FQ+FTeZ1X+1Omb0Ewlh3hR+eiEAXKQKZoc9sCX7P1bYY8R7eT9Zwcc+HqluRW3lwZOJVPNMibZpQV6/a05HHiSj0dv7iTU5ps0Yg7dP8zrDfmG0+xDbjlrtgqhZIAc/F0kgjriDOp8C8zZ4pRUnhKtJKZ1X7hdztW51jUZWG/ylKz6cMJcwBtamEwGekxtPG8rb4eVP1bmdVTYalmtOBhuiCgCPLpFQMc0UfJFiMAS3pTOYEhfRmLDgcE7LWVcZrc1qTTFkPeY+blF0DF4VsbD7WlzmTip9SnqtzxYQooztJvXaUu43j4/jzumL8iMgwVeK4FMKOpN8lW9fJ4wJRZfHyc5bjbjzmeMyPK2jl2tQ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+m5I1VyyZn8L4oUsaprhfHkKlktPIWteS+hhS4pCJmVc4wl7z/g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:PS1PR06MB1708; BCL:0; PCL:0; RULEID:; SRVR:PS1PR06MB1708; X-Forefront-PRVS: 0945B0CC72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(42186005)(53416004)(66066001)(86362001)(47776003)(54356999)(46406003)(50466002)(5004730100002)(36756003)(3846002)(6116002)(586003)(77096005)(8676002)(5008740100001)(50986999)(81166006)(23726003)(19580405001)(2906002)(4326007)(4001430100002)(92566002)(19580395003)(189998001)(110136002)(4001350100001)(107886002)(33646002)(229853001)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR06MB1708; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; PS1PR06MB1708; 23:FcnXVEyCFwGSADUuIKN5SsoWJsZUHwXjp+NKbNpzC+KXi16SrCB2qcU6Ms7VL2ahvVhjs+deX+7R2pxMIR3CGgVdg+L1fpL/legDCJRCU7Sue2IKeKE+Hj2XjqFguZ/qixH7CZsOdjZ3z+mSpJq63WTq3RiFdJODEe+CMx8y9tYBcWfjm/todb0KgAaZw0r4xCD6/LlSHDokT1f19IAHtbRaXx+WiHlEsVsYFgarh2I0sy0QfUuaLan3a5OEtwgJGpaYe/EVe1IEZmGgSpVf/OIzCn+xlZrxgU+GgYrXa1Vsy0lgpgIa0tMiT3np0sjcfoYxb+ava3nN2B1XvNkFxc/CeDQkv8G9VinIVad9h03R52EHFvYHIjMeLvdQxbx7BB2P9aR5168tvvoCDftjxWsWXuSF4kzXjRTxpJK9wLhVZzjbRR+/ZxzwKHWYRdgwmLWqUeaM8q/Bu2MpRAy8pVQeCnH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PymosBYx6qHnLp8gtn8w5czhPtLdQJlzhRG0WM3evD8IAaHq2TaQJFBSiN16yg/MdO24AbkIxdWVsgUs= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2016 08:42:12.6108 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR06MB1708 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto SSICKR (Gen2) / BRGCKR (Gen3) 31bit mask should be opened, because BRGB (= for 48kHz) might select it. Special thanks Yokoyama-san Reported-by: Hiroyuki Yokoyama Signed-off-by: Kuninori Morimoto --- v1 -> v2 - removed #define DEBUG (^o^) sound/soc/sh/rcar/adg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c index 606399d..0891014 100644 --- a/sound/soc/sh/rcar/adg.c +++ b/sound/soc/sh/rcar/adg.c @@ -522,7 +522,7 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv, } } - rsnd_mod_bset(adg_mod, SSICKR, 0x00FF0000, ckr); + rsnd_mod_bset(adg_mod, SSICKR, 0x80FF0000, ckr); rsnd_mod_write(adg_mod, BRRA, rbga); rsnd_mod_write(adg_mod, BRRB, rbgb);