From patchwork Wed Sep 25 23:36:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13812556 Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010068.outbound.protection.outlook.com [52.101.228.68]) (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 8EA5B1A3BA6 for ; Wed, 25 Sep 2024 23:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727307495; cv=fail; b=M8u52nFTjPMaHp9kjczjGI75pFGg1dk3GAw7CPHFeqQ2ECOY4N2wRGtshLW6gMn33gHpjPR2eJ8UQDsOTTmOlzdmfI0qArxN0x1oUSx3RoRcQT58WsTeDFAAhW76B8601/sih9DYzlLysQ4XQHw1r8lBNQaeWSANuO5ljAPt97w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727307495; c=relaxed/simple; bh=HZ2bqo3ksv8T6EmUIGCC37GT84zN4xE4rRT2errJIqc=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=m6UPvPh96ljLYknZm1h5yTkLtth0gR8llWr+uIsuRUkNs7N43sII5W31unXjWUjx+muKiDO2MzdvL7DvOhPhepO8XxnzRHf+9H52UObj83Cq+uRoahHYmfCmvB2NBhBF5toGCGLbX89f+XbFTU/ECQ/A3l3SSFIXfybByNJMuY0= 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=OXbXmOOe; arc=fail smtp.client-ip=52.101.228.68 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="OXbXmOOe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ed+/E1R7zjgiMCOaZ6TuKdr+NyKrZ7RFDIXMcJIOa/YEGdqwp/IwWQqm+6+Sq0zxk4Z3bjjhvhJEI9uaHU9gL+d1RWDvubwsUnIAMvFGPQzyLAC5L0LDqwxxRQDWGYQvk/jDwx1HbzcX+wq+FxoKUJ96/5GUq9OiEVhlEwP6FJN2F6SefcLsOIkW/H0tduovOpffPadyuLPiUxl+OdfNg0lGKEV5+fnrT69HI8xpniuXdEUOxewWmUHnRhEptctmHB9hGaKzfDYVbsxcmrsQLuuR4qj1dWeOWCtfTHSjXum+Uam8ogITHBAQMysmPZDXRkGY0c/oJQfLhNiquLafxw== 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=rI6P1L8Jm1/UeJH/CANI3T0jC80jDYfZjGdDvVOhVLs=; b=K6JDoo7GilfKm6EgbY/neRnqeIvgjxYNQSdu4EHMTLPH49RDmlYFUaxMLZdsYf6gTf5QRasMfUm+7U3Q+NeOUA7VE2R3spau1KWDRYOt8+VEVhV2V8K2DE3ARUHdr5gsyc9LlfuTc5ZPOnESReh/OEuAVB+D/Uq0yqDlU9IjQTwPQyKl0ss4gdvMSjKXDXrC3SD/9Kevlk4OqKYWiXuiyBC8KETr9Iy+ZD8R6AL9f8fXIES+81ezdZipva5K5qUWP8W5OpVCvPgbxlt5wkKU3DSI7gdWWMgQ6NwSxEBOSht8CYZ8kKGnfzmPiOxVvYiN72wtHWFudtd0sFsldK8Jsw== 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=rI6P1L8Jm1/UeJH/CANI3T0jC80jDYfZjGdDvVOhVLs=; b=OXbXmOOet1DpuMDsD7LcSFtGm+YJCRU+dbkPdzMSvtlCFDA9eJGPa8S2T2QCs1bPnWuvmqB1+gsSF+Pa4ikV1E6F6WxAn8N4SUvFwjQwZQdGH2ksfvnn7ZmPNSUFPFF9r4DMyNNvhfe6aRbeFZv5+frwCd017ELYSS7XrJEmOjQ= 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 TYCPR01MB10634.jpnprd01.prod.outlook.com (2603:1096:400:292::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Wed, 25 Sep 2024 23:38:05 +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.8005.017; Wed, 25 Sep 2024 23:38:05 +0000 Message-ID: <87msjv9ugm.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 03/13] ASoC: sof: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87r0979uhx.wl-kuninori.morimoto.gx@renesas.com> References: <87r0979uhx.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 25 Sep 2024 23:36:41 +0000 X-ClientProxiedBy: TYWP286CA0009.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:178::7) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB10634:EE_ X-MS-Office365-Filtering-Correlation-Id: d7a5513c-08bf-4669-1d5c-08dcddbae8c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: eii9VMyUaL9vm/A/22kVr11nWFkcI1apaTacmSbuQq8JsyPV+kesEG5FpbuyuNDYDYcTgTCZfL5FFOmR2E2n1ypZIHC/l7C3m8AKgOPqn3a5zB5Kp9W94AdZ00vOKnFvzE/sj6Hpt/Rvh0Zsp7VQa+ouU3GYajFLhb9KdySmlBAUNb2V851xMoCZtFZGXWC+QK6nqOQBKSKlOrUA9pfmd970jq8JHgqr1cBT7lV5sdPH31+Pt0fb2Zn1GPqfEA5sjkRBP/wX3Gr7ue0kwhMH6pAvTSwOfk7nnvOHHTX2E958FIw7tCUKtb4RWnRuF7MkkQ1Nkf3n71xmztxuXHGIh3iPAjtrwhEHbkPf4Fu6zQHdj152wdAQN/xDudgUNNv0sNzZArpoAs4e4GFbupyMAjbhyqz/mPSglD8+N3WSaQrdwENF7q+uE2uhrv82aERtuX78TWKITOXOPPEIGLIv0E/xG0uvmpH9HPO4P640c12kYExUS1TJfRZlOkCcvLXqELI/KhueRnsdOCRDPZN33OZkA96kWViTJ/jLtkN2kyjSKWD4Pyeed7Q3lFQ+9/g6eliUte1kBBbK8xcINB6l/E6XSFO3aWjwqPV9fbo5+cL5t2cz0+tu8UZYZB4nEFUGTHmSDYs4JpOLHvUAWp6tj325x0fs89KKG/0UCJcAg8YcnI9+5rAR+A7LdXIEM/aIgmeE96dF/WXXaxy6r1AXrs+Iw2+3toIsRM5exBYz1Sqhh7gmZ99OYgeOY1enPWLrJ8aXsX+VAlMmgo4UrM9GSq7wC02Uk8dWpkU1LXFSZmDcKdf7WPLoLlOmtOYLaUA9cF4hTacSvtF209P7P1AaDvlOp16NtiWp5Q7fB4+DS0drqiY1HWozz1uz5E10I/gTf87/m8uO4TvFOblqrJ83XMnCFOn0dUAqX9W6d2ljX0+SaFJn9his2nqB9/lcSRyyCmq/impCE6ci9+lUWaO6H7tIeuRBdkZFkotvGksYIkVinPtn4gVn1IIgjzagDrb6dj5lYhlU1CJ0aoxaz57hQAv+rAq/IfN7KF1L+XKaDoDf+gLVsH6njv4Tv8uGaccY0xApinHr6hRQvUkEqEZAPoW6EkpzSxO2zWnB/OAcD5NitZ9kj5BVGLiFBxyAspGWchotXDmTLaRNoauIY/Lx3sZNxaLoZI7K13IBPmq9BERA3I9npUwrDlWY088/76nSD55VH2zFxKrWqs7gL7aJDJNahKwHx+dQCKJc/foG5fEXaKJi/3JNU0mNBbN5nFRhuYN/Jn9XispQ8cGgFgmHJ/n4QGTrSkNrS5O7gmqCnQ7BhQsN/ku3fRX3jvxwhh1LfBSVZtODMtiwBzwAdgE2tQ== 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)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mhEQZpxewQJcR6c6+s8kO0yBfd6VEyaHm+aYQI/D2No6j1T8yrnxFys/qZQwEmxV9gby+zPRDETnOWQmfcxoM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RPK8AeUr+TFfNM3Bjn1NPIq2oQThb2rZ0uIGR/PmK/Wx0Plj1feYuBW4bqbuu/vKEsQVa/E103gzc1/CJgNeGkSraen6rhHsu5OJKIVTBQBVMYzLWPtyt+qcBoi7p0yINpwgOaPjNPeuEHf6AKZXQcK57O2eucSKbh9owZGeO4i3dcgHE22zXHhGtmUPnXVQydWd7R5JeATh11TZErT2RAuRxF/6/FWNJqEqYDy+9mrTltBtwDoMdAowhuTAb17wNUsfenuApi5kBfTxvwztXtGxQQo5mOy/4VOvatILX2oK9PAEvOMPHb2OhJaPfAIRGeRc3b5uoGyiTdr5pCGM+5Xx1RQQ+s/GRU4iAj02BnLPnfgfsYKJEuGsZQyd7SNVd27CkLoR9NGOutUFM61vDJ25TGA0jVeJLxn97BATRMVepqTG5qKLUVOWF8vzSxeDXd6j3ndLEYEIzJDKmvqhHnR9Gkm4HqYRILexoeNEo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7a5513c-08bf-4669-1d5c-08dcddbae8c9 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2024 23:36:42.4655 (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: Af9irRMCzarq5JNTvzKHoo0KmfGvFhxZmc067Q1//el7n+ygixDJfYFgkXZZGSZRUorps+E9y8Nhj7SJuhKhU/iQkcMga8Es3T+D69s5uJKhoqBU+Zz4oINubnnXYwei X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB10634 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 b12b3d865ae30..d59cbd3a69964 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; }