From patchwork Wed Oct 14 08:56:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7391491 Return-Path: X-Original-To: patchwork-alsa-devel@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 CD1B29F37F for ; Wed, 14 Oct 2015 08:56:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6B4D20502 for ; Wed, 14 Oct 2015 08:56:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id BC4A020672 for ; Wed, 14 Oct 2015 08:56:27 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id BA883265E40; Wed, 14 Oct 2015 10:56:24 +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 ACADB265E07; Wed, 14 Oct 2015 10:56:22 +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 A267D265E18; Wed, 14 Oct 2015 10:56:21 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id 4273C265189 for ; Wed, 14 Oct 2015 10:56:12 +0200 (CEST) Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 14 Oct 2015 17:56:09 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id BE7534041F; Wed, 14 Oct 2015 17:56:09 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id A18421806F; Wed, 14 Oct 2015 17:56:09 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 97F1B1800A; Wed, 14 Oct 2015 17:56:09 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id TAC05767; Wed, 14 Oct 2015 17:56:09 +0900 X-IronPort-AV: E=Sophos;i="5.17,681,1437404400"; d="scan'";a="196409111" Received: from mail-pu1apc01lp0020.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.20]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 14 Oct 2015 17:56:08 +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 HK2PR06MB1010.apcprd06.prod.outlook.com (10.161.187.27) with Microsoft SMTP Server (TLS) id 15.1.293.16; Wed, 14 Oct 2015 08:56:07 +0000 Message-ID: <87eggxn88u.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Mark Brown In-Reply-To: <87r3ldswdb.wl%kuninori.morimoto.gx@renesas.com> References: <87r3ldswdb.wl%kuninori.morimoto.gx@renesas.com> 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: Wed, 14 Oct 2015 08:56:07 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0013.jpnprd01.prod.outlook.com (25.161.74.151) To HK2PR06MB1010.apcprd06.prod.outlook.com (25.161.187.27) X-Micros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Rj5XKb4OIxjCk5vLLE74Npc0YEZYP+vGqiW7ZDG6YvM/B89M3FExKRjhtsf9hGfbDhTWCcTx6f3gKRINdzozJAJjgmukfCLu9SFr+IVk54tQJGAUgcHSpuosQFYJCjS/oeV2Mgx/wVNvu9dKUy7hNiRTHfOD4ZAr/YD+kHaAQW/HwY+ItEdcW635pWJi; 4:fiHXX49MYEScIG/8LEEHr8/Kq4lbSA0f3uXNArfaHhexgKoIImtkdkBfK5gcAg4Ir+RoXRZ7rF24FT8BIiouzdoqFVbvIICOtvvSInQdAbJKE/P7JnSpBHL1S2h4EBDA4ADrjq7BnYhOEuolmcY3b0ni6Q+CWDJaahdAowPQJR7NcVDbEHMq3/NW+OO3ZGV/Kx/3rHNP7ekM75K2eEPcc4LWEPeb5Qnc12hbjbofSxGg+hByOj1BWMc5WsaFPoPhjcxKcv5zxEEFzJJE9p5T+kGRKot5yHT+SX4hxIcEWDj9bsB4dDELbSqBktlZQkVBsZcDRQSASZ6kX8QQcZuia4Iz1Vc3xYnz6Bo7mU1i4H0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:HK2PR06MB1010; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1010; X-Forefront-PRVS: 0729050452 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(4001350100001)(50986999)(81156007)(105586002)(50466002)(97736004)(106356001)(110136002)(36756003)(83506001)(5001960100002)(33646002)(19580395003)(122386002)(69596002)(189998001)(19580405001)(87976001)(101416001)(86362001)(5008740100001)(76176999)(54356999)(77096005)(23726002)(46102003)(229853001)(46406003)(64706001)(53416004)(42186005)(2950100001)(47776003)(92566002)(66066001)(5007970100001)(5004730100002)(40100003); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1010; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1010; 23:wNdWI0UJ6GY+3o21MCaZLzdlMS4zNIk6lxeZkdHQx?= =?us-ascii?Q?iolQWwlxQo9lPbIi3E2kU9uSc/ME5q6OUmgPQbdt+y0xukUUxXdCPNXrK2Nn?= =?us-ascii?Q?E1LShVj8Bsf3/WXEMCPwryfRMyTI1bAQbIz6PGpwZaJPzX8GFbXeSi0YLmKC?= =?us-ascii?Q?cKyRxeZKLdUyeBmAzlMNCDyMzz3olKvDOD92o9GdcmAvz/66kDilcN0LF6am?= =?us-ascii?Q?lKWSsUCC2XDcoQVKasl31xoZMF0IABJtHl7njfIFhd5G5zWV51EIVHc6vgo3?= =?us-ascii?Q?FB27aV/JruYXVjfnPqCTIDRPGqSAmXdpIYCMsupBzGDdxAa8RXQhv+suPK2C?= =?us-ascii?Q?IQfgmnACdyxuGWwvOJRtLS1AcBfaDYHc/13gIsqc5YPB7qjaPxtpslID4Ivf?= =?us-ascii?Q?0SmXCdgaqrXsefxt9Rkf8xdA9I0bFy04wwVJfcQTy16GP3mf+mJ5xpm5BmnR?= =?us-ascii?Q?7unS9y4jrxs8NiipoSclXUsoJ2mOPzwY3jlERcR+ZAsJKq91QAOMXVy+rWh0?= =?us-ascii?Q?2J5ZorpANh3Hm5jpEbVlYui1qzt3v+/KyjDfcYOYVnJvcfZf4i2fRGmyF2W/?= =?us-ascii?Q?0olVsmNRg71sKq7u/PnCSTh8tIheEh8UywGJmqv4S3+OKdvvYfcSv+J5B8hy?= =?us-ascii?Q?N8Lkqirc/I3EQN4d0G71jUNSjatrubPiIQSJlItrLGxDLV7Ih8LYaUPdZOon?= =?us-ascii?Q?MN+eEOZxTUPK/pug4fK2xK+45BWolEisHmg5qa5VbD8IEKj9xaRzbYXdUWHK?= =?us-ascii?Q?T73fOAl5ZrJQCepKVGPGilDyMYgauoHaosggVLVw1M9JLuN99eIy1yhFtX5+?= =?us-ascii?Q?LxXM8tzWBoPZr8Vj4U9KA8utwCHBFiQkFKBlSOm871iszsuyGZQLIZMVjVUm?= =?us-ascii?Q?2bN0KtVT6rWq8DNs2PNBvYToFATYJsg1oQyYPGfKJ0Zv7v0tnN9r7RAFcSG+?= =?us-ascii?Q?4x4XckUvNH1n9R2o8H4R4MNH97MCdtwh/+M/KOJqv46Ee0LPFIP0ttaZfzV0?= =?us-ascii?Q?QPN4aBnXUEUml+o730xEGQ1nq7hDjJ5SM9NTBhrCNQopYceGPfPQrKhZDRzj?= =?us-ascii?Q?S50853yg5MVnSUEB8D6N2skQ/2b7vOG6iDaskHEWD7mmvuBI5X001TQuVDrH?= =?us-ascii?Q?u/mB2IaGtA=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 5:pv/mPHpIAiV876sjdyGf6/g74/nssmNqDJvk8AYqnwLoNwdubMx23+tmKHKQtSQlGbZK+qhOU2vyrk8gYlHxzd10jvfH314Z19LK5wT26K4VrrPB9qnoT/TTtnH9Icd0SucfJ1+o6I8oVYh1OCwgaw==; 24:xi0jKhfOXSb4Loc3fxCioEdZUfSlV4YSltO5XIDjGFJKClgPuTu+FVgfq6pAoWwKIhpUk9bnfEfOw4BmbxE1CzzvZPYRM8p3Hw7TDLicilg=; 20:HrJJwjn3Xq6T0yPviX2gRBdkVg2vZ/8oN1uQCsBGYsLAzbDuzxW2cOnQekyRyy8f7k2lF5AthRpVvnm43JKFJY46yHK8d6eEEa/NjbpeYkH9BhAgWrIVaBEx/ZBKGWSiXkVahrkS4NVraC3pMpy8uPSFaygAajzVqND7s8tOZDQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2015 08:56:07.3291 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1010 Cc: Linux-ALSA , Simon , Liam Girdwood , Linux-SH Subject: [alsa-devel] [PATCH] ASoC: rsnd: Announce for removing Gen1 SRU support 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Gen1 SRU support was created for preparation of Gen2 SRC support, but no-one is using this feature (sampling rate convert) on Gen1. BockW had used SRU before, but it was pass through mode. This means it is same as SSI. And BockW "platform base" code was removed from upstream code. It is now supported via DT, but it doesn't use SRU. More detail, r8a7778.dtsi has "rcar_sound,src" entry, but no-one is using this feature today. SRU probing has no relation to this removing. This means there is no effect for DT compatibility, no issues on upstream kernel. Gen2 SRC was created from Gen1 SRU, these are similar but not same IP. Keeping Gen1 SRU in current driver is a little bit difficult, and no-one is using it today. Gen1 sound is still supported via SSI. Gen1 SRU support will be removed in the next kernel version. This patch announces it. Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/src.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 4507743..3fce97e 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -920,8 +920,10 @@ int rsnd_src_probe(struct platform_device *pdev, int i, nr, ret; ops = NULL; - if (rsnd_is_gen1(priv)) + if (rsnd_is_gen1(priv)) { ops = &rsnd_src_gen1_ops; + dev_warn(dev, "Gen1 support will be removed soon\n"); + } if (rsnd_is_gen2(priv)) ops = &rsnd_src_gen2_ops; if (!ops) {