From patchwork Mon Mar 7 05:06:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 8515521 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B24F4C0553 for ; Mon, 7 Mar 2016 05:06:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2474E2012D for ; Mon, 7 Mar 2016 05:06:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6DB242010B for ; Mon, 7 Mar 2016 05:06:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751341AbcCGFGv (ORCPT ); Mon, 7 Mar 2016 00:06:51 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:61902 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750854AbcCGFGu (ORCPT ); Mon, 7 Mar 2016 00:06:50 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie1.idc.renesas.com with ESMTP; 07 Mar 2016 14:06:48 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 179C644C11; Mon, 7 Mar 2016 14:06:48 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 1837A8002E; Mon, 7 Mar 2016 14:06:48 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 149328002D; Mon, 7 Mar 2016 14:06:48 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id QAY19588; Mon, 7 Mar 2016 14:06:47 +0900 X-IronPort-AV: E=Sophos;i="5.22,549,1449500400"; d="scan'";a="207104191" Received: from mail-hk2apc01lp0210.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.210]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Mar 2016 14:06:47 +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=kJLu59CvUhfqokx8+x+0NXgRMp3dI/wiU4QNEzbtkp8=; b=oiBTPbnmiDC1EWjEl4Ton9DLljV8UQOWfolVR3OWu+zyXZIoIYIrjZxwuhZ2hfi43/Hivrd8/BlHGQW8aXcLGQ8L/j5AF3pasxQstlLHMxdhV674WACYLyOwDAsHsYfwINMPKmdeqhOOq7KRkoEuGeKCf7wXxCvP9MDaDZHorHI= 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 HK2PR06MB1010.apcprd06.prod.outlook.com (10.161.187.27) with Microsoft SMTP Server (TLS) id 15.1.427.16; Mon, 7 Mar 2016 05:06:46 +0000 Message-ID: <87io0yyj74.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/7] ASoC: rsnd: SRC sync mode is not related to clock master mode User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown CC: Linux-ALSA , Liam Girdwood , Simon , In-Reply-To: <87lh5uyj9a.wl%kuninori.morimoto.gx@renesas.com> References: <87lh5uyj9a.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Mon, 7 Mar 2016 05:06:46 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0044.jpnprd01.prod.outlook.com (25.164.161.154) To HK2PR06MB1010.apcprd06.prod.outlook.com (25.161.187.27) X-MS-Office365-Filtering-Correlation-Id: 5f022083-99c9-44f0-a8a9-08d346464866 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 2:uh2smGhnCjPL2ZBPipjCRxBYzCn6jx1LbL764IFIRB1bzoII2F5thbQd4wHKGGumAnQG89iM/Rxvj3ooeH4i0DuViNSIxGFCIrwvXLFu3/Lj8OP96SboDeJMFV67+pnQPK9e8eut1veKEm2R8gQcLLF2lvdOdbzU4MhXSKEtXa9IxxBDerE//qP3McRcUL/X; 3:7ou+/eNP2KXef/0FmPIcLMhR8Jialo18uFUMDlIRF8ZkmPcf04vcZJVub/FdAwHLlQnzgrndBGA0SBxjGLehfmLRWSVrtfkVwbCOEMhpJjD8LWPLi9E24UU7N4989Z9G; 25:0VfKJ471V5W0ARqDBkIjn0O5nZZcPsBmBAQXwKT4A+Iklu2s3seOL5AkL3LpFR6ynNoRSoBpSbW4QbbgniYcWykmR3cJZ3kuD6Pnq1hKlo1Pwnhs6FpN5mHG6otHNFLoJUzO2mq7SAJQmODXv5RorUIAg/2u7gg/xUw/eKmuGuaGNIrwLo5LeACw0v0cy4Hp07EoYOwmPW+q8T3QCuK9avrRh/BLr1WWGSbhFT9djT1i43gnSixREV2UG+qZ9MNVDvJBM8OOvIVjdgVc8k8lE3NG/H4TszReTD1jbG0fdsLmng614PZfmcdDnwklOBXL8prUMXmTzyJW3sQup2C/bw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1010; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 20:9qQFEvS7P6JvMBf8QCw4p4X0uE9ylpngmjFW0WlXyWkuoJ28N1/jrGA0iRHljTYcAwai/izieORY2Jf5v42/FvBlm0/3ry53OJ/jz0ObX4L8CEO//KvOoWp/dG6ABWqGQ9vBfFYU6ytGU7q+JqhQ2tnpFKDtVYiQa9WkPXcH7BixisSGrUur/k8363wO6M7QkZs5Y9n2WzFFXUCObxWUQzJaPnYDXFxaWJuadzylhPGhHtZD2PqpLQDi8jdzb5WSkF0FK/ju6LoLAaDstD+POwVB4RDVEE+ZjpRkSFq7dUr5yqeTMPCxF1H6fSFPl8/JcMm6LWJ9Sq4VHsjU2SP0oyXI1+nfvDaXvHQeuXr+43UvvzlHPhcFm4O/N6WEzFcsdvj7YZdQ5s/LFSLUNLbNZ2ciPBN/qDnqg6xOE/lGpy1mgJIHmP/2f0uuXsvG6CZNk8QM8iUNI2givwmnznmutvogZV0Du7N2KD3gz8TpF4P5VXK8BQn7cvcx369OJ9pu; 4:n6UFAVt8kCAJWJjo9wtf0iQ7tXbYMKD8Xilz5jJwnzTfFIcONWXD10WoMD0qZS8es8fbtEgqOp77sZXg8v7hRYHxHTXD7/s2PAplskHVmAWF0QbXyO6VG97aElp6CS0ZOrF3oG/VA13kJ6siQbm8x+AgC6aqqSTFb+bgtRVz3gGI3dMtCrlEiZQ3603XDRMbGTdJFaa+59jJEhJHOk9u/41CTWkFu+Hroz6d5AaDNHlHZdbiBxy+cfsDW+aTQz8/wzurcU2vnNTCI2CrSeDyV456D87Fe78WlaI3lOyb5hER5L3WSMkIV8eTmx/vzb+PxoXo0YUy46/O9csGe2WRWvI/pq92d3oBlq6ZHtKVuRlsKiwbvysy05oOhzn1oPvW 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); SRVR:HK2PR06MB1010; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1010; X-Forefront-PRVS: 087474FBFA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(50466002)(5004730100002)(66066001)(33646002)(86362001)(229853001)(19580405001)(83506001)(19580395003)(2906002)(586003)(5008740100001)(122386002)(3846002)(36756003)(1096002)(46406003)(42186005)(6116002)(50986999)(76176999)(54356999)(81166005)(77096005)(110136002)(92566002)(2950100001)(23726003)(4001350100001)(87976001)(4326007)(40100003)(53416004)(189998001)(47776003)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1010; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1010; 23:l3dG3mxS0Td9sBdPjzWfBpXsJo4m41Bo8hudGXJaB?= =?us-ascii?Q?jkXjE3uMSEvhmbOphwtPQxS3gwO0Nfys+nOBMhHD7d28Ng8Pibc2WF/lazCw?= =?us-ascii?Q?tVwdqLr8zczrvKvC2aamXQUm/0eElq9R32Z2o5RoW+YEMGP0I54kaxIX+xY1?= =?us-ascii?Q?S9krnC+HICb7FyFJSVCLvJT9RrFyNSm5QSLYxymayrtGBwnq/mcD0RYTRYSV?= =?us-ascii?Q?GodEcMSbzZvfpOW4s7H8mLR548R0beh8fE2EA63PowIeanTAK3nN/wObPD/A?= =?us-ascii?Q?nw2DUwRtce3q8w7biKFlKCRy3Izj2gt4AQhhHfcAwXrHrkOlz+1WyAwpYRxv?= =?us-ascii?Q?RI2eBHn3ZWyMwHizhOAGy8kjvcrwBRYg5Bh8kfLdzuEPMvgfj9QAwB1+Jhl/?= =?us-ascii?Q?53b8gfL0pfxUSu5lxTE9dMzPcKpqJFO2yTmpQk94mwkVJXsCVqkYlO2vcNir?= =?us-ascii?Q?gd5PrZQVebipKVz3nQ4D8DkxOq6dorfgqKfWYrY+Aqci2Vn+uNsPHjuRsx55?= =?us-ascii?Q?HSsnqX+HlbVqPGBiQDQq0ajC8nn3RcHeat3v8XmTBUlJgks6aIpa0JGOBGg7?= =?us-ascii?Q?bIMnZ47RI2i+SGg+XkNX3/BuTlJb64u/+umABlw36XipciVDcu6fjOLBJNO1?= =?us-ascii?Q?6DUWLxcSeM5lNsh83TkT2fGhFnQB/uD9ZhAksoVleUIvHUHCuD+33v9NVgFS?= =?us-ascii?Q?Fizk6oEnIL978asRpRiuzbME7Y9/5BEsAl8o5GPNvTg+xBAy+5KYGEuQUwOv?= =?us-ascii?Q?sqmBu0nMsMeUlBACALgM9SA4QiCdCb3RyNDNVWhP8QzqJMgfbixt51kXRdef?= =?us-ascii?Q?rUgQHwgjpCcaXIf5GkN+ZXrfPSrrqd1gagZA0iw6qcJfTo3aeWq1vZD5z1oI?= =?us-ascii?Q?sCx9sayn0Jwo/DQ/prLUBrwkjqIZGuZGlTTl8r8N5Y3DYLjEdQBBBPFcPh3n?= =?us-ascii?Q?iwKWE0azip2a6KfiFP/jcEgwkEhlI6PurftNDv2L36RployZ2Q44ey99eKrM?= =?us-ascii?Q?IwPAEyXF0vJTTf0b/wKCZ0H12Pv4YHfMYyl33kyUilR/w=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 5:qrW+NuWVVDn4LlDQcyeXDo88bXl5i91pZ5CFFBC9Y6lRk34fVfwA6LcvQVwtAKZVxQhWOFu0HrsdDjNMFp3XJfHMV2+Eovsjsi8Sh4sqpy0p4AT9xTeaZ5suY7dyZnjFGNhrhH947GeQI/6m8WC3Kg==; 24:rk0Ojh9gDKL20jnQ2t1VDDDU6wHceDVJj+6e8Xe8eeSX/m7FUjCTAXFnx3Dre9xmtcxihZ0c4gxEbUWbA7vt5/mWbRF37GDu2GTeP4edgZc=; 20:bD4CsT4h7QH5Vlv3QGXodV+rLX7hC2TiBDbe/kK914aGg2s3gQF2zNVA+T2rsVAs82QGJEs42qc27/lfIZMJWew+vX4B7PjzgWIjGrk8oSVBlIFLJe2dwwt3CIQE3QgZNsTWa8vsWbdHrcEY9DOPIVlOD5nYsOBrMrgNxZ7w2Zo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2016 05:06:46.0089 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1010 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=-6.9 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 SRC sync mode needs to control its clock (= for in/out). 1st but codec side clock Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/src.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 541a478..ab974af 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -474,7 +474,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) { - struct rsnd_dai *rdai = rsnd_io_to_rdai(io); struct rsnd_src *src = rsnd_mod_to_src(mod); int ret; @@ -483,12 +482,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod, */ /* - * SRC sync convert needs clock master - */ - if (!rsnd_rdai_is_clk_master(rdai)) - return 0; - - /* * It can't use SRC Synchronous convert * when Capture if it uses CMD */