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: 830775 Return-Path: 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 96993CCFA06 for ; Wed, 25 Sep 2024 23:39:27 +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 BF71D202; Thu, 26 Sep 2024 01:39:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BF71D202 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1727307565; bh=HZ2bqo3ksv8T6EmUIGCC37GT84zN4xE4rRT2errJIqc=; 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=iZUh8iVlgSrSfYTeRG2mrn2S2N9xugdjA+9qeDJlfXXjKGTEt5gOvtv215aV5boxD ZBEHzUbK4yIo9SVFjFCvpZRMq9aiBnjxvoub0nXPb6RQ+Qh3tWz1tgN+riGWSZdheq LVg+hdoS5ACgDnVfEH0OuOwsox3ljtmZZEsWVgWc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 13543F80610; Thu, 26 Sep 2024 01:38:25 +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 5D080F80606; Thu, 26 Sep 2024 01:38:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 72CF6F805C1; Thu, 26 Sep 2024 01:38:20 +0200 (CEST) Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c406::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 2FB03F8010B for ; Thu, 26 Sep 2024 01:38:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2FB03F8010B 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=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) 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/xDudgUNNv0sNzZArpoA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:; 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+zPRDETnOWQmfcxoMlAeEdgpEPejUaVFR1zWG7jXHOP6oD1e3KYYhABV0TbFbwyVLx8P9eTnBJmz1YO2hLRUwtR6uppgpFxE4FOmUDsQP9IFMvpvqciclg48Zy+UL+YFjgeKuwApi02zKgVZnSPsvs3wH0UN0Ry0JowxQm/MSpoUWoEsdQl+fcVt1qOlDODPXQMwLiKtCCxDwlKCr2pyCGp+lEELuDHowkMF8AHYNK+C0hHJyMiAIW0nNIwuFA9e0jp08NyUIIq8+qdkXAvyQqmOChyEYkrTRAeuZ6SSjJYYVi8H9mP5Ue58+vRgDXCIoJP0LWJlAVh+Ab6Q/sLTlSp89v3OJerwYQUh4+qiOXkBAuQAsJaNvlmdcSbRj7CSoDwE/VjA+8BaNtXfx9YYZKpyZpX4Ie8q3gSl2RWxjVjHuHtZZpjVGmbhyXr725/yQfLyJvNrbSvtoBlodxOp2WmiG0hq2UGok8+IR3wU/rMAL9w1MzwBZnztmgEtpvk+tD/DgD+RYq5KhAgEFzSD6HsumyB+yz0STUKc3fQQ4hbyK5dDvE2+0p68Yfou+JS3EyuXQZyoCqjDzEo/NxENqq/krmWLGwhqdtcn2n/FqoMPY6+suvZujF+LnvDGmYgoOHAQcKFBbj9H8pb1DqV+/dqqk6huQebISH2wEQ49SGDZsxRahvH2OZjOOP+Ab437h/FciMaQbP4ui/zTJv4iotr+rXBFOMxpdFNrhJ1+GdyYuwaf+Zgn/ot7TMsfB7PjUwlKcIylr1cYQ82msyIn0iaNXwVe8DZTca1FEMymCqVcy1x8HyNrvIXRoe3u72161rqU4f3D5fGNHACAvVbSRqOvEUFtdmlnVN4ymx5EZGIsHMbhBqphu8U62qJ2vBgENFzqTH1BpugyqdN/TRsS2fsDgHUUlaw2xX/tY1hqvF/5MFoqDOA4N1GQGTibT+2y4juwntsLSUdDkjS3ODvcspvO/uMLCsCnCR0ugL7s1cz8xFiPrzcWCgqugvCLj0lPmnteJhGCdcUJnK+8Gy8WmLzzmsuTBfLhF7W23em2W7tdxDJTmSjpNyd8abjUd5RPK8AeUr+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 Message-ID-Hash: MDED3E7YN42KAHH2BW7KR3BHFY56JR52 X-Message-ID-Hash: MDED3E7YN42KAHH2BW7KR3BHFY56JR52 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" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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; }