From patchwork Tue May 17 07:33:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9109871 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 894459F1C1 for ; Tue, 17 May 2016 07:33:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1653200E8 for ; Tue, 17 May 2016 07:33:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3812B202E9 for ; Tue, 17 May 2016 07:33:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbcEQHdg (ORCPT ); Tue, 17 May 2016 03:33:36 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:62626 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750792AbcEQHdf (ORCPT ); Tue, 17 May 2016 03:33:35 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 17 May 2016 16:33:32 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 0F4185DEB1; Tue, 17 May 2016 16:33:32 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id F396B1806F; Tue, 17 May 2016 16:33:31 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id EBE361800A; Tue, 17 May 2016 16:33:31 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id SAJ05254; Tue, 17 May 2016 16:33:31 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="210995727" Received: from mail-hk2apc01lp0215.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.215]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 May 2016 16:33:31 +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=H1RaCadogy7sqG8UJYB+T6U+kpFNB3q/5IwUju+KaHY=; b=S0X2Mp0I9t585Mt/tKGCJHMNrBCr/63JRS5I9/tr/G6SCJYZRV6VZw82pwQytoiQ0JpDTmNqx61md4Mk6+q/lV4GTQW5q2jHQX2jBf/jz65k7nE3cmu3rAwPIbRYkoDxOYWNHHiurg6KFc8NEJqtfrc4SYvPljAEvQy0Wi2A9M8= 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 SG2PR06MB1711.apcprd06.prod.outlook.com (10.167.82.141) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 17 May 2016 07:33:28 +0000 Message-ID: <87lh396t61.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH] ASoC: rsnd: open 31bit of SSICKR mask User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown CC: Linux-ALSA , Liam Girdwood , Simon , , Hiroyuki Yokoyama MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Tue, 17 May 2016 07:33:28 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR0201CA0027.apcprd02.prod.outlook.com (10.164.90.165) To SG2PR06MB1711.apcprd06.prod.outlook.com (10.167.82.141) X-MS-Office365-Filtering-Correlation-Id: d288df40-f541-4d0c-6d73-08d37e258acd X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1711; 2:6OkFgP6f3dsFg7C56wmCO3++pnTGVU9xkoFs/IE0Tk9f/JN5A0/FIfNqw+sbpv6zUyhn7jqGpen3PVTKatdoObLg8esPx6IZjZYaVQt6TI8oWKv39mvjZodQouVSLDGqQxCOj+jpYaVlNCSR9iqIWFHMSiX/WNHVJ8+iCrgzyGoxYB3E7kCZZQVVXvHl3FiU; 3:NfFZjalzSo4ztKrypZKEy2VdNUwNNG6+kt/LpUmctcSyBTJiMPiXr8T7p7a+Ud3Gdbyk4xaOMVw1awv4GZ6hqkMuFWYWFzpgesx5C5fbSWX8YC9lki623F6lz1fMg1Vg X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR06MB1711; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1711; 25:Xs/Ssq6KDEoBZIMGPe+/feDC/sBeDfVgzUQGz1A5QoX9sdGwUn8Ewg+FlhJuy3OrKaIPPE+EKSuF3ZJP1F2iwsr0vi2eOqbSKevSxIDjw/kMhCGPRkFh00BWHRu3al7Pifq+LXXOdK71Nw54/f+mVwl+5+CSMM5B/sWxDiILdw4Ss0WLiJfp2UQPeOBOqESbrr/TPwzJOhPjgDphceHjtYMKeAc0frPq71d+iLKsJH6vhAZKUoP6azdLVQozSaA7O1aCjgkcm939R982IxKGFhsIZ/WJ8SE8t90suaOOF2brrXZ2iz2covyJw/XlEgALDKeRgvxIXAA/2wTRkR8yeEsLoP08vbD/EaS5lMCuSHvaS6npOxbKK4yErCOz2OGGfgAyaoILrAzH7cgte0AKMuACCExPk4Pp0vyBMPIp2Fr8lTxCRue9IKW3FZRdz1yfOPtwhZWvV8bpf5dNW8VpYEdsKX9yDDSQaxzW7nfQt/TcjJBikfegd9AHye3NZKUrmwNc2ANGDHq+P/OGpQRxZPF4Pb8MUZb3KC0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tJHmhadaYa6EeuMpTkgiOjLZ5IWCLB5hTQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:SG2PR06MB1711; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1711; X-Forefront-PRVS: 0945B0CC72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(47776003)(36756003)(46406003)(66066001)(33646002)(5004730100002)(586003)(81166006)(8676002)(50466002)(4001430100002)(4326007)(4001350100001)(229853001)(23726003)(6116002)(3846002)(2906002)(107886002)(189998001)(110136002)(50986999)(86362001)(54356999)(77096005)(53416004)(5008740100001)(42186005)(92566002)(19580405001)(19580395003)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1711; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1711; 23:orz0YmbXtRR7kVZsG+XUGQhGiomYyUOdeJorroAbpiJdZdPxLC7bipZORg3jP5ov5VjXCUMyEYuSRrc7T1G/mEc9KQPXn9Q5RDksme/Urb/KVqk9YbQl8BZLgwyT7MMSJQJcrXY5+scc3E9wfafaq9y2Gcl6CcVu2s0kDiLAKlFmt/suFItawEuQ9eKicsFp9ihn43iCT2HjKhRvHj+KxxQ3sF3u5dbJRqkh6490BrQAtsCxfVa8mOdRTInhY3013I6I+9HUV7y8gK1BdW7GO0zBuWYC/yUcbtNagvlJE+usXO/DIkgKHCJcYb9MWFTPziKthdUlEwKToSO1yTNNEk1BXDvxipwe79VWi8NsATzPLyQYCCt97FNiW5rYGtU7I4Z4FS5M+mm+yNpaAwBB+03+CsTb1zngZKUYmngsFks7f8EHXYL5PMbcRlRHW6Qh7vl5WukVuH+AWyXMe+wWyJoNCNgcwKyPNYsKDbIrQH1/p3xPAltL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m53ccbNRMRZlnt7wbV2gMrCDuxzEgt1wQ+ReWmvE23kB7G3ZAKEXLuRbo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2016 07:33:28.8230 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1711 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 --- sound/soc/sh/rcar/adg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c index 606399d..061deb7 100644 --- a/sound/soc/sh/rcar/adg.c +++ b/sound/soc/sh/rcar/adg.c @@ -7,6 +7,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ +#define DEBUG #include #include "rsnd.h" @@ -522,7 +523,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);