Message ID | 87bjze9vhp.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b6b8caf6470b9793ae4b66a95c742a1c97ece748 |
Headers | show
Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011044.outbound.protection.outlook.com [40.107.74.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4C2D197A77 for <linux-sound@vger.kernel.org>; Sun, 20 Oct 2024 23:59:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729468759; cv=fail; b=FJ1aSSpz62tkVIeI9p1Xee9uLckpT/GarxvTMf8SpN1VlftKOjmQV3V2WetAE9DOArLFEPTLd1e1sXsLiFqxp4hZYFI6D9f3KA0OwXh1RskvMn0Wex/qk8Nw8tecA5tzvtYF+R4zjLtqMvv6H+jmgZd135QVznmHlx1H9fjTuD0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729468759; c=relaxed/simple; bh=n7fERorHze2JmC+6AyjZBH0qej2nC8phi50bjVYRW4E=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=iDEtYD8zfOw3b6biGDsAt8heE+GTyn/uQy7tOnxrUG0BUpfvdhqmiSEKeU84s22wO9f9N30zgbzIP+k2X2hgqUd7ZVeWoxT58j17/yl4sp60Z2hK+ygbUEcKosmi0lyTLpQ8ztpxEewiFw9v/ffkTXCyB4+O/aroMNcFw9cLQLY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=juHFNwzg; arc=fail smtp.client-ip=40.107.74.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="juHFNwzg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MZv3n+1yaBCWYLfY6MEdGRPWclwKBriXGDhwL/H0g07ab/U1akCHYciqOGa04VwSqA/vIhiAdB7x3N9D2CaLeGWRdPW0OvNlvlcDEcMUWyuKomByPG/lGDVoqcnCKsWygrAjX4Y/MHV50KkKog20eSKB8YcnvdFdvNdjOCER1O1p1SzIgMq2QT8/dpv+/wo4sWZ7nEMnbt+To8NJy00oqHg+yhj20uQl0HcIP2P+1B356wtzUEawcb39Xi37EZn2r86cYYBOhurX83hcsXf0eE4LFFQiMMPRHOkelY4qdkBljxOavmTOVm7P8SdfHYDWWNMiHBYSt1m2IcAvG80hgg== 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=guBSSIy9QrhlD391jhwdpOMZFDfZ7r1Mx+pyJBlZSPCfFc8c0/uokdzJPeLmL3JWulFwlyrCaRm+MTM4EIOQSJLh/s2E9Hghnro9uudt/mmOfXcYyZaF7VLDN9jCXJKxTtjDNyDM37qXhcMz2MPDSdBTxUg9F3Qrd02H7NubYmz+8ljKf9mgQOOwy9f9xqF9ythRPNrRPAwJ3wybkXTbDRHS/nq/uXBtbQTXTnDxAg2G1dWuA9iJytK/NL1wAX908Phleo12GXoGpQuyuBiztoSXsWjRPR/093hm8nVyn9UMxtt8o/ko1yarm0n2GltHC5X9KmQoTtyV7MjyGnlcCw== 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=juHFNwzgv6zWf9FMDn823ubNwVWetjsR6F9rdxTUK62mWdwBVnknHR8ukpnDWxLgpJ8kPC6BMliqfi+W/FIDCCkiXWObPpTa+WsqxEgI1xrDUyDf5mzDoC3cMcqvmUFTkCRJFcPuRgy9yRmqP791NfbPPQKMtGZ4okHmANMWaUk= 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 TYRPR01MB12916.jpnprd01.prod.outlook.com (2603:1096:405:1b4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Sun, 20 Oct 2024 23:59:15 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.8069.027; Sun, 20 Oct 2024 23:59:15 +0000 Message-ID: <87bjze9vhp.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v5 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: <87ldyi9vje.wl-kuninori.morimoto.gx@renesas.com> References: <87ldyi9vje.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Sun, 20 Oct 2024 23:59:14 +0000 X-ClientProxiedBy: TYAPR01CA0167.jpnprd01.prod.outlook.com (2603:1096:404:7e::35) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYRPR01MB12916:EE_ X-MS-Office365-Filtering-Correlation-Id: 75f9ba41-efaf-4382-49d5-08dcf163339a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: 21N2EMTJWDHTmJQQXW7o+cYNLOMM0p5ZFSYs7hpho3L047dPqRdVWKIMc40LShAkKyAr1GDEdWr8jV2ggS1kMoYAZto8OcQnquN5CJ/XBTcryBRWl7QIR1Fi5YZVugVPeUAYE8R4Gdi3MCoFfAfPMWXrjJgk0MlCRq2dBCmcw0hwM5LB3K/v6ovI7Qw44DQZSuGneZd6T9lzgHKD7nnVn2PkXXd6ctOhoiBlzOPfAW6Nq02gi3EoRq1zmj89TE94I6qmJeemN/C3qSwfQL7mwDSezBNiCtHtJqOkQTSzWRCm6XqaEFDmuC1VHMXFcMh5L9Fzg3SaQXjIysJnY1GvKHZoFt3IEdjSnp8gcuk0xukuJe89iMokwVcwB7GsJV1ycMfFa501SZLujY7LcZz5uTVGx4vcKaz9DyTkkljiB2dU9Dw8OdJioJooPJp/4CCaRpXqE2BeBTv3B/zfEEToevDheCoFgJG3gUVzp8nhxZpNjqeAEaGCimYGUBDxbbRYdy3a06qX/30ndecF/88TsT5XF45k5OU+FJr1xJGYrHXNg07yDm4BO7A7H1+ndVd8Hv50nIyskUEQlKh5aPxNAmn9fZBwzsWpiS+8VP4EDjaH5q5HxyWaFuZ5BS8452w6OV2ehGU3Lhu22x2Ophu3o1XRljhIyQAmG+d/NI4D2woBA0FKVhnk6B8juCA9FXKvrBbCqAHiydOCaWAfnHco46jpwuLmMN0XdTo4tmD2ULA+Ps0ZTR1E3e2nxA+5S1bSYDLyaTNfZZNUZ1AB8AXAzr92ttGQ4As7Qx6z6MgEGYd4jCX82QxvYNRvLtyluX8/RWSdEQrC/MfLnvSiqImsdKcIxxfDYpAev14J6aDZPjS14ePpfQhRQrxT5CqUytAPEOZYLQpUvHXhpVojcHT9E4/Neorgi6EdNrP/u+1Iq6cwSoeSMX8/84hYTbUyigi007eDfWHVZgMCGXIg/InpAhClgR0FHpsew+b5ruueRLKZePGIowJQ8KQEsLmvLOhgI+ADfyUFsCI4kEp9PE3q9yk10tS6xm+0SiQFRr62y2yuRgClZuZF7kKqnr5cEBEhHIBRm2qVr0XxbcX8LGpsijWIf46+6Gtjdv7fNaHzvqCRX0AZ1s3q1pe1EwMcRFFbHbFA4pgEAjqMqVqqXUxDlZs3yd6ohar1mGSuzuid55d3nyslffrACPzTVj2grFEIrU6arwcS6srypYCa3Q/hiUgxN70Ps+nkuAu79uGt0qdZTUE8524tCkHGlqcsTOkokvG1ID6leKbfdNoAoV34989vPw8LOdTLIBTYUTZhEKkI8fpbQAssgVUHpWjw6ElRn6JB05GOVtZxibKv13U7QO+3oxsWvr/FjFMwwHLgh7Q= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1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tvY+tK/wMKRWbmPjOXEIQZaTgYZWmfr3Q5bByh3/4rhFbnH3SoQivbofF+DYF66t3xbVcV4mQ7NmAFoNycF/T8+QPYmvm5HMKGFVeea9W6I1i0TJuQkNwIZQ/u8DBOoU8BAYDaTBa/si7/PRz7t7CCn2HBqqaC55w0FdkDhufjP03BfO8joft9QvGZdbu7bqAMrlDEoXMHSkaQbFxgu4xen2cyskCZk0f8D5iL0vWid13A+J3CKVAYsMsr9JdLqbpD11D6LogUM1LINfEE1kzH7h8XnN4/zRSR74bDdjtvQrvTZ5scgXAozjnlsJ5mj+P90eHypELpaMaG/zq0pgBWdcnMyiAkLN6VRjniEx5npTKUwpiST1aB/U+BNGjr5LpbcEQdYUB3g7DfmTlo/OrVtdWfLfXnWsdbwKE9kukApQK1N+EG9l2tocEurKquVDXht8wWNEjolfazhu+pyLCQxoT8wcQSlLgO+vKAKHOhre3ve2ppgF+DAwNhTwNmWeAXeExJvkeR2hL4lTKP9JoRl/NcyPwq0qQirNeSWIC/zA6C/SVHDv9qLM+6QFP3udUJ3W+g= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75f9ba41-efaf-4382-49d5-08dcf163339a X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2024 23:59:15.0727 (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: JqOMOElzXLgrBNYm/XyuhO7mY1qVhsIZqoKX6Bkg6ZyzLkNDMU0yGvXFBG5rTxnW+3sYcEQZQTESUCLJeBLL3NFUJSkpEW2pLzedY3pStzODVztJEhPzk8XAY/HMvj4J X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYRPR01MB12916 |
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(-)