From patchwork Thu May 30 01:29:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13679616 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11010000.outbound.protection.outlook.com [52.101.228.0]) (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 9784D134BD for ; Thu, 30 May 2024 01:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.0 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717032548; cv=fail; b=YSUm8kpVoev9cuV3SKzCeAGw6DbX5SDmk3vE3mIx2MoxTk8Nq90LtBXhvb5Nd2T/17imv+vM/zhS5zIsdwg+Vtv8ZSumxnjjG763IdAKiNvmA/6vbBoSGizRtyNZNHeoLREIhpjJRRoTFmzc/xxE5dc/lNhAjEb8DwqU2af9p+Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717032548; c=relaxed/simple; bh=eILeiAMb+Ubl4xNComhxX18cmxFQ7llSQXwMlofEQQM=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=ThjTMYRbG6nybrpVisL10q8FU/sun8fsksuYWudmSZkMnjYxj5yP3v2r3MI38VIMdkzBEWJxTywFuqNRaU2fRWbKtGiRIfnJ9XxYLUOGrSNbtPVv8YFa88hou6zTKaLskwrvpQ9xv/pdgbp/UdNWcqq3Zp5KvH+svzEuMv2/5PE= 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=giJmFyrB; arc=fail smtp.client-ip=52.101.228.0 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="giJmFyrB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LN5EmwqxyvjCtFMQstYX8x9JzZFWmUMghuhEP1u3y5nfkR60SGJNVNugPMX9D9xb6pLi6WPNEmEuFtOHtKGilFFHQmzOWsnjYX2OyJaqcCixDgtZh9MP+tHIM9pNZC1QoavPoln7w2YPXAPJeWvfKVuMPvDhAYcz3j3xymuvUlrusBQQScqJNcw9Ka0Km3XI1K7PTWudFREU076OQe75zkzzOvVXn9uPOuKy9gwQBVN/GMjl5SK6E1L6HHRrDi4R6WUr8gmuqMv1rid7EUOqlmkJ3nNIgryU09Svhh7jkXxR6MI1br3dzXAJFJPXvNB+UzrznxYKH7U/RdIQ9J2grA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=M8TJhmaxwFaRg8PrJ1q5iMgoxY0YkA0fCzMwghB8iqI=; b=bLNtdFTOgHDm0EvhHa+2Xl2btcvbG2gyVd0oaM/lGKmhMKdDzcYTouOhMk3muueOwCruA3WOb0KhFqPh3Xn8o4GBxozYZlbtLg/uLDcRL7GFG2GGPFhfUcTefFZDRp+ty2jTxvpkgDidmHsTA9LDtNJxkcMIOfyfwqJzueEKA/sHSg/K5CFgf9u8xktwN0Afpj50LczUpy5P6wuOg7COxej8AEKB/cTfWYzu8/YK/y9z4ggDstn7xLIIsI6LuM/+4NefWVdfSAvewalDWETES4cmUMPLCrSJCm/NxmCwNIn7thga8TXlmhZj2F+GLxlvVU4uVlJ+wTByvwrQqbmtCQ== 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=M8TJhmaxwFaRg8PrJ1q5iMgoxY0YkA0fCzMwghB8iqI=; b=giJmFyrBvErHwz09OUR48AQs0kREB493UNNp8W54Yvs4cRO+fiF75ZXL/VMtX0R3pI12JOkij6jtY22hLc6jAGX2F5p8476MHJy2V+Bk7+SQCeHNYrr/YFHgYFdjnVUMfckddWbQ0TUmDxNWx3Fiw546pSvCujH3ulWkdciY+kw= 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 OS0PR01MB5524.jpnprd01.prod.outlook.com (2603:1096:604:a6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 01:29:04 +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.7633.018; Thu, 30 May 2024 01:29:03 +0000 Message-ID: <87zfs8ozoh.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [RFC 03/12] ASoC: sof: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: =?iso-8859-2?q?=22Amadeusz_S=B3awi=F1ski=22?= , Alexandre Belloni , Alper Nebi Yasak , AngeloGioacchino Del Regno , Banajit Goswami , Bard Liao , Brent Lu , Cezary Rojewski , Charles Keepax , Claudiu Beznea , Cristian Ciocaltea , Daniel Baluta , Hans de Goede , Jaroslav Kysela , Jerome Brunet , Jiawei Wang , Jonathan Corbet , Kai Vehmanen , Kevin Hilman , Liam Girdwood , Mark Brown , Maso Huang , Matthias Brugger , Neil Armstrong , Nicolas Ferre , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Sascha Hauer , Shawn Guo , Shengjiu Wang , Srinivas Kandagatla , Sylwester Nawrocki , Takashi Iwai , Vinod Koul , Xiubo Li , alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-doc@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <874jagqe9w.wl-kuninori.morimoto.gx@renesas.com> References: <874jagqe9w.wl-kuninori.morimoto.gx@renesas.com> Date: Thu, 30 May 2024 01:29:03 +0000 X-ClientProxiedBy: TYXPR01CA0061.jpnprd01.prod.outlook.com (2603:1096:403:a::31) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS0PR01MB5524:EE_ X-MS-Office365-Filtering-Correlation-Id: a7ccf8ce-89bf-4b80-62e9-08dc8047e412 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|366007|1800799015|52116005|921011|38350700005; X-Microsoft-Antispam-Message-Info: b2CWZblOn9hSqI9gkUunFamZEaZ7Be3UHPF9a07ClQ80Gr0+1FU9iIbFMNEF2sO3EWtB/YBv0R7Yk6nJSK7LIj1J1mD6qf+Pm4xx0iFaCz5Zl9nen5WM/FF39Nnb6uH4Y8YK7siHSgkZS1C4aej+oq0UlYBbvux2koFSGLUl0SL4toPKmRGgfa6nKm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oj06+HIwGIkt4aZjUI/qPCf6M3Cgj9mpbtVYw1BguetyFzvY2GeNrKFGvF621kz796aJ1ctlIo7+vuYYYwXnggL3zv2ev0RAUxzb9rewEWYMbpwIdSY4KJiTHQhClo= 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:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +fvehtam29/DCNsOGC9Ky5OWmauHnWKm+NM9U8MSuSvRSjPZlTUpOvEirgjrDfJJ6FVs+4UE/ffXusWlJVrDruh7Q5b39QhwyfPz4AG74Un3g7rvPU/d4UWiBlhFO7sXmKMxp/NmEgLr28l3RJjwwAEMh6oAUaexPexNM15GK9A/zqEeFyTljbM7nX5X5rHbEva239/01lBmbZqodhfqwZ1LPGgXjTOJLls/r3qxzHNOL+HEg6nErq6WjvqPTuiWuYjx1iH2ym1q5ozskf78Q89RMrYKPHzJ2xgDF1fIqciLDKuz4JExnGJZQzr2JX4BwPXVCDocS+vsgRr4tQ+hCjwizo5VjKTXqoKY0dz2war07ofwsnAFdB1mMYzNjl2sp97H/E4XOFTdcQCwPY5uR/WwOD3HqBy9H3iS8JHSvfy/tyh0dx6DEako+RULeCcLgLxltydQeOcqovxSzOhVT1mT4zm6Bd0zua5JJrsrWIuBz8AWRKb34MwfcWxQwBLRqoGVPFz+FluDobv0wgY+xTjEcw+x+af7rFy+AzamKS/hcRkl/P0M7jw6P+CMVSXHjy3yBqVvLSR+gxpcHzK9g51ta19raaok5oiFwBs4fmy2cZzNo97Y+VByc1pi5GcmQtFLDNWCGqDLhfDT+aAuksgjhArtIgfYv/jbLt9+PYmELrlu4kZvgd47nlArnMUBsMuPRKvwY91S+QHzF2KZqKOUvK7IkTBG0Tf0nKtGkdqlOlSJxzMuoKdYHO0LLYhshUnk22SVhytfNkVMmMMCaLKuSgXqQ/TnVYBohIV47yabRZhKBOzg34QinAXRGqVI4a+j23GoFt70KPn0YCkyaarZHlaDr94Kbnx3hEQzfTq8qIM2w0na10t2xmu8j8Atn18V4mWy3BrbBgnbK+Y8SY5SciFxBP0GHbmwj3xMsizJoGnJwn/YtT6pVW2rCOX/f6HMbilL5ZG/7+ov4DzZluQvhUMvTq2vy8moF17SV+8jJwFAAGTZhrQeKqzV6d+YuqfDmFYWxAtEzKHYRdp8hDWKKAP/4bwsmmfyCQ/9z8Z29mw0GpBXtHYE4GHilzR8avp9RQKTwBmWo7yyGMQLtVuhPP7Ig+gOy3gYtkRO1lg9hM4rCyJeDKgyxm7O1drrAVK4YfJWxN0aN5Duu/TEMvHQzsP7UmmGtRaM07O0mq/xNW5qFfx7TxvUdQg6ZVOX7hQ7jhbijGpGuNWUBlifGE6CcCMrMvm4veyY9sWFGdm69bOdJOIy0VAo1Okv27w30URdS1miIpQK5GK5B1Hm7HXjFaWCvXlIkya1KRkm+ET0XRpdbmUKGPNwl/EVQYlp5BPiy4BO5fpl5Az0chIqcEcKoubRj3yv2W6/2QA6O11/sDa59ITtCy4YIgUByB9+wXYVyM94yaSUCWRBVo3J/jFytUL9EBqKwT2ohDWprs1CulM257DO4Y/5kpQj+k9BVm6zfogQTGdULlRwrbdSPmmewBVLKVMtIOmL3jnsCrlt08TUuxixREJx7V9gQjO5GuHOsz1OLqaebbVZ4thwNeXeik8x3Ydk6L0k8xQCe8KEJR1G9cTxlgKwxvmIac1g1P+BkQvI9M/hYK4RCWVo204d2n+dv53GlslH9papFyc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7ccf8ce-89bf-4b80-62e9-08dc8047e412 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 01:29:03.8813 (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: 7XyDDsIJm2Z9Yxa/A9uVXtH86IwZA23xoo4AnvOhkx7Az+udHTLtTJcNE6PQdRwuTe83nKIlun9Y/bAZuDtLgP3Y9OU4OZaU2S5UD1fmgEQQ0024meJSJPGWhi1NxlNN X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS0PR01MB5524 dpcm_xxx flags are no longer needed. It converts dpcm_xxx flag to xxx_only if needed. Signed-off-by: Kuninori Morimoto --- sound/soc/sof/nocodec.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/sof/nocodec.c b/sound/soc/sof/nocodec.c index fdcbe33d3dcfb..305eda51d77b9 100644 --- a/sound/soc/sof/nocodec.c +++ b/sound/soc/sof/nocodec.c @@ -55,10 +55,6 @@ static int sof_nocodec_bes_setup(struct device *dev, links[i].no_pcm = 1; links[i].cpus->dai_name = drv[i].name; links[i].platforms->name = dev_name(dev->parent); - if (drv[i].playback.channels_min) - links[i].dpcm_playback = 1; - if (drv[i].capture.channels_min) - links[i].dpcm_capture = 1; links[i].be_hw_params_fixup = sof_pcm_dai_link_fixup; }