Message ID | 87d1xqojrk.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b9bfe9d5f7755e225989a253e427cc620c001662 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@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 AC3EEBEEC1 for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 10 Sep 2015 06:50:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF61E208D6 for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 10 Sep 2015 06:50:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9F4C2208C9 for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 10 Sep 2015 06:50:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A39ED265866; Thu, 10 Sep 2015 08:50:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id EBEFD26576A; Thu, 10 Sep 2015 08:49:36 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 941EF2656FB; Thu, 10 Sep 2015 08:49:35 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id CE3692612AC for <alsa-devel@alsa-project.org>; Thu, 10 Sep 2015 08:49:18 +0200 (CEST) Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 10 Sep 2015 15:49:14 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 9473E4C58F; Thu, 10 Sep 2015 15:49:14 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 722E18002D; Thu, 10 Sep 2015 15:49:14 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 6F6EE8002F; Thu, 10 Sep 2015 15:49:14 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id RAD23140; Thu, 10 Sep 2015 15:49:14 +0900 X-IronPort-AV: E=Sophos;i="5.17,502,1437404400"; d="scan'";a="194138334" Received: from mail-pu1apc01lp0016.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.16]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 10 Sep 2015 15:49:13 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HKXPR06MB0598.apcprd06.prod.outlook.com (10.161.181.147) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 06:49:12 +0000 Message-ID: <87d1xqojrk.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> In-Reply-To: <87fv2mojtr.wl%kuninori.morimoto.gx@renesas.com> References: <87fv2mojtr.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Sep 2015 06:49:12 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0016.jpnprd01.prod.outlook.com (25.161.24.26) To HKXPR06MB0598.apcprd06.prod.outlook.com (25.161.181.147) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 2:rG1nO7PHMQ+PC566LUQpvzmvvnGh2c+sYT5wZyQQ/bfjMZbFiCb6y8jOoYM9AxwVryEZQYcx3TlKQ+r2ksyIyeAlFJY+LoVfNVgPjy/ZRfjG195S5JaMsUnsWDrT04jwNk0mrsnrjwKP8pLG56ZVv+0d9GLt2ObSQ79sdNVGD9I=; 3:poI5Z3GXkj1SUJ0FF2GvsYZzBzSGn4wUPL+5TsZhrwqFiUxzhAhAXbJ7muvqn4VtGu3jG2CxHqtdL8BU7B4b4/6BiKe5ncxdnldTmCAnBlwYtw+jPebJbKyKiW7hQC6xr561YG+Z5ucEB0+dVSYpHw==; 25:FVN7oSgIReYcP/TpxQR9IsS5SOzuYXu056SKONi3a477mRz5Iy6gt/bwvCP+O+YstmBuyUCyijAXfm57BFnpWYsEeMBWveTQIfB5znhRp85sDY8jyBoz6UV6h02Tkk+b63Y0BVDB1Ckbh4S9Lp+OtHMRVn2YLMpKtxTodk66bo6I3IbvnoYgmf3yUyOrQK7CoEJHy0qq31EYq8oiB5LWj0QJ6usWWlFvht6pRFFVEG+mfeievmE/4wecCiv9gE/1+Szu9WnmNi2/EF3h0KB6eg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB0598; X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 20:zdn6hv2Vu1cjLjnrcLU3bXzM/9XnFuVOse3Bvgj+93J6U1nB7bPBmPH9D3CLDefYTRYZBjOisnITRWXS7edXbaBtAZMzh80yNfL9TaoT+vEKsq0tqxqNbvUVwrNicJj+HXzFgvM1G8yLUdDIJcjF3Nyh/W6xXJhjECV5R3W34GgODw9pgxlYLX8FCgaVRwZh2SpZzJqglqIknV5yQCWq9Q/+EIVlU7rzaa9mwT4TuFi9IDaB4tZ9G3ZZ8dFCQp67heFAUQkWi9j+DSgWskKJBvbmKIEeulz8eByMc5EkVJmi0yRG1kIaoolw84JDdX/LmOomH2c+2WvuEV6T1mUFrXLY98NKEIe2k4cN8+FUwOt+LVJS5RrKu6kYm2usNoVmF65G9XufdxaPJwjRkGTjb15lhathVn40WLu/gLdrNt72xIZTZWmPHiAy34Nj9hJb/vOLnfdpFtzTYdPaZl5mAYbFZyApl7qFfJlzhkfaO8PLBfXUaCDit9VN7mfVeyZa; 4:gxk54Wli29KUZRx6SYylWVb0FXwtm2rFzopmx6kSYdyfbfdwd4lf8pfbXJQkgR09mMHBVlzMfLPEiU8G4vGqLPwvYEosKALFyC1yYmC+Gh/bwMqnCnRwHX7d+TKi7VIAX5g6bCiNvQCxYgmgVuRrYjdcUeOaVh3Y3bROeRNz5rmPkMDpkpKlilslZOft1PunOzYk6XYW39cisZ727TW9q8vx0DJWtaqzOKvKSK9LwZ6oGfaOM7lXGwYFB7TPk1081JbpcCSA6tBZESIIo5g89LWhixaGaP7csjoXJb/Rniot/tyTGyX0NraJCAgZAAum X-Microsoft-Antispam-PRVS: <HKXPR06MB059888477FB7493121B45D88D4510@HKXPR06MB0598.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:HKXPR06MB0598; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0598; X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(50986999)(97736004)(62966003)(54356999)(19580405001)(50466002)(47776003)(40100003)(77096005)(68736005)(87976001)(42186005)(2950100001)(4001350100001)(189998001)(5001830100001)(19580395003)(77156002)(46406003)(64706001)(46102003)(5001860100001)(110136002)(83506001)(4001540100001)(69596002)(81156007)(5001960100002)(23726002)(66066001)(76176999)(229853001)(105586002)(36756003)(101416001)(5004730100002)(106356001)(33646002)(86362001)(53416004)(122386002)(5007970100001)(92566002); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0598; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB0598; 23:ugW9fip8Uu1ivjOT/n+Ebxa6Kl6eBkD+XAoBDa718?= =?us-ascii?Q?efBLO+dle7nqSFLbPMqMfPN6+nVSXhbqHHV3molcdgDjyOjjw1Af3VA+rpE1?= =?us-ascii?Q?XCCfaVH0vbzHaVLu/vPZ8VVHpG1MoNLCPIeXwjZ2fBD/NeiSUQGiEZnNT1VT?= =?us-ascii?Q?89wZXnhJFJXfCJk799X1XMXmnKYeLikxbACyucJfckdMabuGXX0/v+Aeyogk?= =?us-ascii?Q?6ngGqR9z7YB/ZS9BRbn10Hcz1KDfCVGuvZ9JkuyM3W7TG5t1vZ7rCVB2GOuT?= =?us-ascii?Q?mbIy/jWCBhBQ1BLWtc4/dVnkg8UgaGntmBvy9xQ4VvYnJ2v9inKjr/vKSFqx?= =?us-ascii?Q?eaI190G3FmxrC+goHK7Ou5VGntyK7FeskPtn8Ds4/jCdbbNq3CnYX9JllSPR?= =?us-ascii?Q?WeUSM6gLGSPIPSsbHgXtU3QJaDGJkRf3/qR4gS1luwaNZAES3z2igHolkIbN?= =?us-ascii?Q?dfkD2CJVTiyW1P/M7pvh1W5j0G5dI5rRwib11dkpcOJSTR6aP2oonmwYphws?= =?us-ascii?Q?iZ9hqtktPeNuBpLi/eOHVJIZ4Hw59vrSi4SJ25Dxj+Why1xxl2OqulJgfS2F?= =?us-ascii?Q?7HGkiUnUDyRGASjg0oITOvV2zdKO6UKQmz2Em0kPWuw6sNx74w0bfyVo1O5g?= =?us-ascii?Q?1QzG16VmSQLNIIhhcdKVa0vbgFdIcLa65oWd5+DkSaztxtdhw7tublP1JfFt?= =?us-ascii?Q?U/JENeoDHwXtPg/bkplYN2vKHCxSUAF/GxBBt0fqMjj+U74BM/dXOC7sjFig?= =?us-ascii?Q?BQFLjeVwGol4Xo/npcf/7X+vkVwq4veHEEZrbTdTEWmf3AVChzWViepnuWp8?= =?us-ascii?Q?uK0gUvhd1KQUCRkRjKHKEdbPuogsT0WBUXWYgaIpShQVoPyM98zLtaBOMVhf?= =?us-ascii?Q?0vm5zayn1mzdZcJHkGo/2Ip09yFU4ZiBCsaWDTooTqisCcWp9/KDdaAPtzbI?= =?us-ascii?Q?fZW50uM49caEQtiMKKhQt/XD4EKrTI4gDEZne3+N3sHHNYPaeR5h6rVaNrD9?= =?us-ascii?Q?19hAScvDyed0N4zKRZJUh3GM+3EzRWrOv3pla85MsZoV+6i64QFca56ssLuK?= =?us-ascii?Q?R4A3r3hpXusRkQYTpffYdKXStaiVVDwSXb9RASfpEr+sYive3tLGupT28700?= =?us-ascii?Q?UNKyQyL79SGGK/JqUWNOupuxU4tQg0y9RTpqbzO6M/Lq+JeqveAMTOFNDuGa?= =?us-ascii?Q?fFhajf2dxw4oX45OaLUI6ieZ8Oh4nSgvcGj3FytbFYSyChp4puqr/nU5uldC?= =?us-ascii?Q?KqK/ScSy0VRmerlkL0=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 5:nH6YkzVhlbiWbSVa5JRCTNf/qi67o7SWeSWKu7TjMDjFlGYmMR1QBOZ/ltgV0eFrrPaQsgoeLr67QXgLcI4LuE+mUvOd+Gl3bCyNkR8ogs6Z3C1+QJiPlEtfh1MsoATQI4Xxlqv4HZKH60e7d+hBTg==; 24:ohOMiD+YpUvoE51Evh5JmIddfnjLNhardxfe/HZw/V+q62kGiNGB5waHXJU6XCrJOCeuq+jRuWHXMiFPFpiuxGGWvaQCj7SVE6J+iBbQL7g=; 20:h/WuhSfi6SfibwSwl0s60BQfMvqkjhYDv1g4EeVRllMXBZ2kBiqpAANRLaXA12xcWy+JgMrpLfVEzYDUPkO3ooUHsV1WOZB7HNvmEzRbPecOrq+sls3jTvhPaFaSK8TSRqMw7cjn1OyYsVr7ETWHrMTXaw+apo6hp89e8EP+Vw0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 06:49:12.7919 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0598 Cc: Linux-ALSA <alsa-devel@alsa-project.org>, Simon <horms@verge.net.au>, Liam Girdwood <lgirdwood@gmail.com> Subject: [alsa-devel] [PATCH 2/4] ASoC: rsnd: rename rsnd_src_pcm_new() to rsnd_src_pcm_new_gen2() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 89a18e1..06555a3 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -918,11 +918,10 @@ static void rsnd_src_reconvert_update(struct rsnd_dai_stream *io, rsnd_mod_write(mod, SRC_IFSVR, fsrate); } -static int rsnd_src_pcm_new(struct rsnd_mod *mod, +static int rsnd_src_pcm_new_gen2(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) { - struct rsnd_priv *priv = rsnd_mod_to_priv(mod); struct rsnd_dai *rdai = rsnd_io_to_rdai(io); struct rsnd_src *src = rsnd_mod_to_src(mod); int ret; @@ -932,12 +931,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod, */ /* - * Gen1 is not supported - */ - if (rsnd_is_gen1(priv)) - return 0; - - /* * SRC sync convert needs clock master */ if (!rsnd_rdai_is_clk_master(rdai)) @@ -975,7 +968,7 @@ static struct rsnd_mod_ops rsnd_src_gen2_ops = { .start = rsnd_src_start_gen2, .stop = rsnd_src_stop_gen2, .hw_params = rsnd_src_hw_params, - .pcm_new = rsnd_src_pcm_new, + .pcm_new = rsnd_src_pcm_new_gen2, }; struct rsnd_mod *rsnd_src_mod_get(struct rsnd_priv *priv, int id)