Message ID | 87ed4iqj46.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E04FCFC501 for <alsa-devel@archiver.kernel.org>; Tue, 15 Oct 2024 00:59:15 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 17192851; Tue, 15 Oct 2024 02:59:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 17192851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728953954; bh=n7fERorHze2JmC+6AyjZBH0qej2nC8phi50bjVYRW4E=; h=From:Subject:To:Cc:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Whnz57tdC4WwDn/rBsnDLfJEQ9sk3GWzInN+3zCZx7aXi9IuFgXeA7iAcMGHpYaBE /7rY+oszWwucCDO+JHyM8HwfIVb4SzQibQEyCsOhtD9C7LtIibCYXu706rppKEJWiv +slXAQXPGSsbw89ddMSLRxyBWaPYAza10zuSZa7I= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3654CF806BE; Tue, 15 Oct 2024 02:56:39 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 18508F806C0; Tue, 15 Oct 2024 02:56:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id ADA98F806A8; Tue, 15 Oct 2024 02:56:34 +0200 (CEST) Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazlp170110001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c407::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 80F9FF80679 for <alsa-devel@alsa-project.org>; Tue, 15 Oct 2024 02:56:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 80F9FF80679 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=GsqiGFa6 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YhvQwWWTPp+xNnPEam0ZM+zGbCtWl5A2e7MVKbaJYb0J1ypVjFMD93r06r2L4f6Pf8buGUv1kX8XqA4mDRGlIjiTPUa9X3mbJK/DVhCilQR/bEKBoT6c+Ai1I7unCqHJRZaLWHehAnvVE8RYllrALm+DZzf0iRHqnDtRpiImQJB+Kk0VGhoh6hXObvc85gIVxROOCmblcgyDYiU9GizIytVPnMb9emChy1qYVjxWS8xx1X4VHCkO05eJcZN33+Bdyj0g2nsvrjpu9zi0RUqanAz9AWj26TlEkEviJXxGmK8eVwSQNckLLdCBHHWdUIe3X+znD0K7By7Phmgt0JI6Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VQbtWGqjWwJrlbSHrPG6x4hwYFF+NyLgnSgjClQ7fyo=; b=KQiSRn1NlOBH9xwRUsrrZdBdpqwjj/ycdVs9EfMmnpT6DOQ9aWHb21elIKF0ODyi0eseYKROC5ja8CfF6wtQ6ck0q39UVN+uMTuVmG6vMC6qn7zXErNHExLXxsvKmiODUJRDzXOEZOvfFOIFreRGuY+YgQpE0UxT0GzFXNIzGhSW7SWgYCxEwKLoOIISbHr3I//GO4YS+brgv0c6GrXknr9D2rVvQH6JtiToKbj1F37wbWSTrK9Xg5oFZ6W9RW0R0T+zwnaKceKpeCBWAnqWAb5dEEeUU5L+667wXMgVQTkMfaYBTaWumB9eZtKr/8cpey3DXcx/dlz7BeaavaSN9Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VQbtWGqjWwJrlbSHrPG6x4hwYFF+NyLgnSgjClQ7fyo=; b=GsqiGFa67sM7lgLfKUB4qCTPmmjt+0ceQZrk0ILD+ezat3UhUvzfsiSOJmNJ4a2oXPpkzqslR2MtwCDr/wMb5v79UUdEY4je0LzUshSiKdOjJXMqJ5x8lagU+u94zmwRrKMDZTpL4T51Jk6/X2+YrIXoteUr7nWEXc+I8XBR2Xw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OS0PR01MB6130.jpnprd01.prod.outlook.com (2603:1096:604:cb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 15 Oct 2024 00:56:25 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.8048.020; Tue, 15 Oct 2024 00:56:25 +0000 Message-ID: <87ed4iqj46.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 07/13] ASoC: soc-core: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> References: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 15 Oct 2024 00:56:25 +0000 X-ClientProxiedBy: TYCPR01CA0141.jpnprd01.prod.outlook.com (2603:1096:400:2b7::8) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS0PR01MB6130:EE_ X-MS-Office365-Filtering-Correlation-Id: 4061ec9d-8d92-4280-87d3-08dcecb43206 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: eYj8NXfHa/6aauG958IZf0C3IzBN9gJhn3u1xyu+xA5+kmymyhZoWcfJgdyAgmuNt6+/+SCtdxh1FOtu7YfxGKAiCEB5o98y1mu6NgNbtZY0ukhK1VCzp8edrsW9zxwQxsfUxLmgBHC+7ooXQkfYAuJNhmJMOWJUohOAEPdLsKaD5n4qriFjzAjYLQmZLk+reT45Xh0EmCwzVupHbXvhycTFWXQbhRyIrZpFKv4r4lctTh6k9BAIXNFad7P/fzZH+iksxtHSrRNSFF+9gjas2WYCpuxomWnlSvSuQU9tbZ5C9qcxS+nhe68Ei6eXzs7OeamTHzXF00qbDL9TwJ6PQB4g+7JTH3/ubP5rQn1TUWVDPHFFzkh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jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: g06bJDR5DQACKsE/0FG3t0kN9LS5rZ875vU69X6SGBlS5Dd4tJYRavwKxCRUTGTf9AaeJC/Zvvtalw+WOM5bOYMuXXGQcF+mBqbTyvqbiZzo+GfCW23+5g+wLvC402O6ckWxhMlbMCvKuVmy5Wrt1ix1bCXw1o9jDfUKJt8UOo+8T1MMCAcbr4PMtPahjcQbbw5FQscttSBmdDfKst8YUpuvBN68QLRbY0GWF4MktgpA6YrkOWfnt/ceydyxG1/DuD/9v9CnctnleVOBNrvXJow6jAPjSqZNFlkne3XJubpTokPUVGVAGduI/QYUUEbQG9vFq/Nvi1QdjjhFf3RZa+eMGRHe78Mv6b2tgRqCfMqC6kvq9BzDJ0TcjxO6hSOzJc/389w19skjyV/1uUuw6pL0IZKDfUWIY081bFSbmxT92NqaFet9RxLIhrcMV7FG2AxxRjdZDgltzPmB+hFw35fkkUnCNFOEQtMzB7gQ38dZ7HjFfXu3hLnd+I8vqeeXaYl48gIRnAgEbuyIR48CaAqw3zNS4iCiFxwyLeTxj7U05dfGgOPCtu06knnyo/EJiM8Pyhux8MhdB2ZX6nDYgOUwhTF6k5GMfcieVNXnf6SLFJAhx3zt6CF/CsHhAIfJDNZ05YLAzARoU3D5rQ+MdkvlJMcdqByA5qfxFAunRVJ+xr6MyGGHIy2VFun/t9+dmxP+GEKswFnM6BYrtn7ZxUwjJXNGGRxGiNT6ZTYsexT8pIZcUdL3hbqr58scbHFLTWqXNksxRMQpAdrS+zhoWKwJ1LwyKoqsCFZ5Qozuhkl3zdImMPkdtnUjWnfZVpLQmMC8M7AigB7fXvnN14VM9d623Vd3DUUI+DAeWU615jA1SC9qI3kA7ChSf+18nKXjyfZ1EytZJlF94GCSUJjsvgiRn6StnWyFwjg1//Za6NmCwv9NFD5UN6fhsBsyFdrMYZw9gQW9INhsIxQsOQRZp8krLvUmFd76QsGSubGiZhiXFv/afPgisC6pANLDZb3nm/sJ8aH4eiUkr8DAmQuhoxE0UqGXRv6Z6agXVDJNdTgT2oMF63cyW0ZRERGcKepPjAQLFzXX67Eo8PDLY5Y2RI2oz7y0S+PxZOw4NehhTtxK+0Tln7oi6BF7DhZYbSbaB6dsMN4YxkrCfI8byicQ9Enk4h0XtxgP5vZhMNPkHJ8ixuKBpxww0Kdn0QobyCBC3/rkkf+0PlrXVuQdB8nnqCduIGkvrhwfZwIslQGSQBAf8J63aezpS0R7JbM+7HC3BAIjpr6sUkZFA/TM8pFSkozI5PPGPar6bh+vvOKVwWVAZLuevk6RzvtEUDwFk6U+pWR2mGXw6zGUOx1RmR7BOAzu84v/snfll2tvaI1WIsEGw4CEH+BkhfqMErxNMpXVW4PDt4Kt+YUiSixIjpS7UVgG9+TZP5DmzuPR4RViPmhGvE3B64ivdTg027JEJl0U0UmCojQf3uY/0oLG+g3LYRNvIRAiS49CzjdD9bxj8v/WHrzsmhRIoHDPejChfINBOWkVCBA3tAyaIkKJz+cm2PLEESC8lM8plEyAjP0kDo+OIyl6XkUHdpDIvGiPgkIcYr2Kw7ulkP3Yn+7CqfHODgIVJMS/ZNo89uL5fZJeGVY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4061ec9d-8d92-4280-87d3-08dcecb43206 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 00:56:25.7980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: USYC9GJghgIIUM7uDKDmKXxN3F2NlcUgzdjGXpEEwsKYUaXrgf5oDODNixL9gHpeB9oEZwxybw6bQf0QsxETz8TPWhGtPIUt1Sb/uZaaeLNSaowfxV0oOilfxzz2Y4H2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS0PR01MB6130 Message-ID-Hash: 37QLP5BNCRYPBFZKVVBI4NAFHPA2NLIW X-Message-ID-Hash: 37QLP5BNCRYPBFZKVVBI4NAFHPA2NLIW X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/37QLP5BNCRYPBFZKVVBI4NAFHPA2NLIW/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
ASoC: remove dpcm_xxx flags
|
expand
|
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 20248a29d1674..f04b671ce33ea 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1999,25 +1999,7 @@ static void soc_check_tplg_fes(struct snd_soc_card *card) dai_link->platforms->name = component->name; /* convert non BE into BE */ - if (!dai_link->no_pcm) { - dai_link->no_pcm = 1; - - if (dai_link->dpcm_playback) - dev_warn(card->dev, - "invalid configuration, dailink %s has flags no_pcm=0 and dpcm_playback=1\n", - dai_link->name); - if (dai_link->dpcm_capture) - dev_warn(card->dev, - "invalid configuration, dailink %s has flags no_pcm=0 and dpcm_capture=1\n", - dai_link->name); - - /* convert normal link into DPCM one */ - if (!(dai_link->dpcm_playback || - dai_link->dpcm_capture)) { - dai_link->dpcm_playback = !dai_link->capture_only; - dai_link->dpcm_capture = !dai_link->playback_only; - } - } + dai_link->no_pcm = 1; /* * override any BE fixups
dpcm_xxx flags are no longer needed. It converts dpcm_xxx flag to xxx_only if needed. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/soc-core.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-)