Message ID | 875xuwqeqt.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 B002EC25B75 for <alsa-devel@archiver.kernel.org>; Thu, 30 May 2024 01:21:58 +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 C73B483B; Thu, 30 May 2024 03:21:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C73B483B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1717032116; bh=B5RO6p7327DKtCZ1Iqx5LT+0U1LaPgTSoSUsM8Ty2Sw=; h=From:Subject:To:In-Reply-To:References:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=sD326nAD4lmw8in9GFywOuL2BFlApItXD9hYl0ikMUAk7EBtH291OpJ9Dq4rp1d1c pCVgou0Vet3J5An7raQlGCQtqZ0pqNKeHdm0XvCTWs6D48TJ6GY/WyWp0wQSt6P+Hx bK+Zuc8uv25f525owNpalRQFtUWWWP5DBg1k5djQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 70A57F80635; Thu, 30 May 2024 03:20:32 +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 16EAAF805D3; Thu, 30 May 2024 03:20:32 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A5E79F8026D; Thu, 30 May 2024 03:18:26 +0200 (CEST) Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazlp170110000.outbound.protection.outlook.com [IPv6:2a01:111:f403:c407::]) (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 350CDF800AC for <alsa-devel@alsa-project.org>; Thu, 30 May 2024 03:18:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 350CDF800AC 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=bAOzjsBc ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BY1Ak7eIh42d6MOad/Q80VqgEu1ERAr0B+JxeATBEJffXlsnWqaYsRzmEAnboTscPYKhx9OMZn0m4zile+lIh+BP70Myha65eMVrS66Ka8YKf1XCTxiIcZmpHcfOFVCkyOhbenV4+aJce3dZIYXgJh9iIBgCStJuFWM8KCil9PRnjKvfmOqate2WU4xhFynyfZonnhshkbKDeRGP10Z0wYLUrd92CZkscJnvtHsdoA7rN1Lf9ZPkNPXi+WicVuWA+wmPkpprpP7ooJE9rePPxlFuT/vmAOzjmMLZFUnqGTf3yXXKUk6sGEAnabDMJDAo9PoDkgfG90dgtuFrf2LidA== 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=5pUbo9QCCHlxibWt8XhYosX8ClUeSIMH3Y0wEycUZdc=; b=el8HqcWAb0b3E2klBpFi7IdN4HmJ1bJVTsSjMQevfwJCBl1OzuO2QAQNX+Aokfhcv3b0V2Ax6nztMreQ+kT1tSCv/o/utEVtpozcaEWkf6UldWe8GyFMNWfTtrffZLSmSGL57N2Geecfj4yZf7LlBCX5jbm1XH585xMLVxwhaAYicEMycir+B5WWjr5IM+i1EDRhhg78/kwKsziKCzyzsNcKLVXX7yKrjyUEZjAzqmoLz7+yC1+FIBqrOqOPAuZrOaayz0SMDjT5mM/ChkON/uXlofWYJzH+LrYs/emTCQj3JkGdaChuahgFo3AYn9qyl+6m7bHac60F53S1hV99sQ== 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=5pUbo9QCCHlxibWt8XhYosX8ClUeSIMH3Y0wEycUZdc=; b=bAOzjsBc9zMbXwJ3Q8DKLOto6BTxYMvkguddvVJ2RqTjYgJ3QkkWDlXVPCP86/2nuva26tE2/BvjAjeP49Oim5cliJ9E9XjhyFRe45CfdJZmlT+/+Is7X5yh149qgkX9a+Gqgw8FR9E0ii75Ho0eBvoiETL5Lvn8ghZ/EfmGv5w= 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 OS3PR01MB6933.jpnprd01.prod.outlook.com (2603:1096:604:12c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Thu, 30 May 2024 01:18:19 +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:18:19 +0000 Message-ID: <875xuwqeqt.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v5 4/4] ASoC: Intel: sof_sdw: use playback/capture_only flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: =?iso-8859-2?q?=22Amadeusz_S=B3awi=F1ski=22?= <amadeuszx.slawinski@linux.intel.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Alper Nebi Yasak <alpernebiyasak@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Banajit Goswami <bgoswami@quicinc.com>, Bard Liao <yung-chuan.liao@linux.intel.com>, Brent Lu <brent.lu@intel.com>, Cezary Rojewski <cezary.rojewski@intel.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Cristian Ciocaltea <cristian.ciocaltea@collabora.com>, Daniel Baluta <daniel.baluta@nxp.com>, Hans de Goede <hdegoede@redhat.com>, Jaroslav Kysela <perex@perex.cz>, Jerome Brunet <jbrunet@baylibre.com>, Jiawei Wang <me@jwang.link>, Jonathan Corbet <corbet@lwn.net>, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Kevin Hilman <khilman@baylibre.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Maso Huang <maso.huang@mediatek.com>, Matthias Brugger <matthias.bgg@gmail.com>, Neil Armstrong <neil.armstrong@linaro.org>, Nicolas Ferre <nicolas.ferre@microchip.com>, Peter Ujfalusi <peter.ujfalusi@linux.intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Shengjiu Wang <shengjiu.wang@gmail.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Takashi Iwai <tiwai@suse.com>, Vinod Koul <vkoul@kernel.org>, Xiubo Li <Xiubo.Lee@gmail.com>, alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-doc@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <87bk4oqerx.wl-kuninori.morimoto.gx@renesas.com> References: <87bk4oqerx.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Thu, 30 May 2024 01:18:19 +0000 X-ClientProxiedBy: TYCP286CA0170.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c6::11) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB6933:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c37bd4f-bf6c-48fb-47f1-08dc80466406 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|7416005|1800799015|376005|366007|52116005|921011|38350700005; X-Microsoft-Antispam-Message-Info: Cxugt8KhzLxk/YqqzvnVNYaKak+9FQ3Aa4L17r/Q6VT/7Hemz6jnC9CGBMFi9jcHzztQ12KUpVhJMiqSvNoZeqAEVM2sH9bVtJ6NN3c8dMtuXIXIik1w6NmoEJWvSFzSkZe92gypkqS7jd1t492NcFFTiXWFrUe+m9zG4kD2/lcsQTV7BTX0h7L+gMNwsLuYWdDDFAunU3nvltL1+Y7veM8BtT/F2fLTC+kGG2rGLEDXcH2Bi/wmilfYarOmehhLw+oCqgOlJmzi36+NQ4UzHJ2k7Tye6A2TILMCiY5Fzu8Iyc2rEgGR6Qu8tzFi4o6CM/7JhKJ4JL5FpoNIIDqZU1S0h7aYrl3p1+U7OoI4ovFg4vh22taKQzD+gWIViefG7N3mQ6kOfx0v6kRdfksHc5TdUcjYGyWB21PWGmFdTeFMNha95Q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)(7416005)(1800799015)(376005)(366007)(52116005)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +L9U2XyvvC//kO1W1u3Wdg6928eaa7OerkxwUMOm/zU5g6zhMvOWhYvhQKhcGeVZHyndXny44cg55TaxvO03cFbLhzg4UKDABk5MwUulEvZtUidtnj5nFTJjIXcbe0dp5+KZ90ZY7tLznSsQjJd2OfUdcrQ+EqmwO/rwMDovo/fsNqJZMnTIF4vs4r5haqoZ1pzj2es94+j6UY+3hbY7Nu5U7Gl7sAHTtJkEIPgiqYnaTtLxqQqYP42AB0oUXz73Zvu8CjXt4ed7JVpL6HmsJcWT9ghJ2ix/u5qxuYXgpf67754x/87HLmkVjCttJbGxgDtA1C/uCHC4/X8ilxepaGDhGr5a2SnBxD8fQLYWOBmOSthHG6EU/ncPO2I876Ihu6fB3B3Fcljt5vaDTGKozzEFLiSX8Q+Yf0ZI4pmtmzCiQeEBLqxUzSoNa5G6lboZwcUb9R0mBKutDR5BiEUW9u9MXrTfbPmckE9cvJhdU1JXQ82dkCfw1oy+ybbqqgg7RkH4CdJSleYu0vwxKIOEVrERyinQyNfp58JPUz6ZZSLE3hAwtDcZDFer4aArJcsEfVaOo/FkV/V2Xc+W9F+jiGXNM21QaOXMr3gh7RWHKKqqYWUloZzWtOeV1tXDk8rxdQowdEgT6TIHvX5TYweyKOiNUFWvFoGc+L6NRyk6CA1fWHx+BRw5O4evffsS4i7yXqujWebGWm+MKAuVdbMi87gUNSpkd6eLawBJLX1aPkT39pj6496fcRoJwOxQEZRXh9rUe5mj8ypLVtT5+ZbYzLlA/cEX7LoIYu+JwX7X4k78t4PcGRi9veg96PhXpilkkFmQgvQ+myMQO0msFZQvuUd0JfJWVeVlvfcmaEMFYtF7OtUBYd8kPf0Y4f5UEXbzqmVsq1YL52lp19DLkm0Zfp5uYFY++MBOmbxPA/UqrMhYndbnn+9Q/bxZcWYhF00G28HnVpcJJjmcYQusQRb2hrfGBrSc225KHxPYohn0+px5rrAO07weQ+UoPkV09Z0CYdVVomqcQFvr+dgE0AaTt0Q9Gpfz/ytwoQuK3IUPdSlJ2GBEDziSiLxzgfab5/rEI8Q7VEqVlhx6UYcOfzoBdo1LyaZ8MQQXif5UpjlWbpCtbHlJd12Rafkve9R2X2Gmj4zYfK1d3jcY3F0sR5y9BYhrtKmJd9SjPZODM7UkkuC2emGWA/C27Z5pjVuq/Uiocj3718Y2cfcyphjzImO2BFeE3RLJRmqxoVXJNXt63OU+GdvY/4Zx1QBhdSr3Hr272Wu31vGqkkWxJdGOoNHezS/Vx9scV6PLzGVy9nMnteeFaYWabiMPKlM06LThycJ5axkYd7jBrZgQ+d0EY9dgEZ9n65pNVMfN7Ts6dm/K16Wg+cARFkFdM7TVGRUIWKKhphOBdphRMImrc9XClko76q/ERlqycWAoKof/Iy1y2SznlLEyKRkS0/LjNYFL1orCrvY49CPKkG5JbtdTtmJAHvSVWZAOxnK1NApRBwW8yhCcML6TAIkuKS2yjjnGpJMHABIoXd+5Z/oY2DyuXFFt7jzJwwa4fV8TGfVy4uBy/hIYjGfytx/y7XyhpLU7RIILJyCNrL8CvFFlht1BDhrbf1+wyJnb5FVOUj72TURQfdo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c37bd4f-bf6c-48fb-47f1-08dc80466406 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:18:19.6032 (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: 5cwabnNh7jdPnkKKH9ams6ADus0e4aE12Ao6sV2+Dh8VQvMkgTXAH110+qsPUjyW6bkju2K7p8Gr78ZorW737cVQ8JwrHmU+K8ggBzAp3oWkQRSvGOeLgxManHJ1cyRD X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB6933 Message-ID-Hash: KGMXAULTIE5HVMUIPQPOTTZHSGE7AGBP X-Message-ID-Hash: KGMXAULTIE5HVMUIPQPOTTZHSGE7AGBP 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/KGMXAULTIE5HVMUIPQPOTTZHSGE7AGBP/> 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: grace time for DPCM cleanup
|
expand
|
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index b646b32dd3119..3d11718198650 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -1271,8 +1271,8 @@ static void init_dai_link(struct device *dev, struct snd_soc_dai_link *dai_links dai_links->num_cpus = cpus_num; dai_links->codecs = codecs; dai_links->num_codecs = codecs_num; - dai_links->dpcm_playback = playback; - dai_links->dpcm_capture = capture; + dai_links->playback_only = playback && !capture; + dai_links->capture_only = !playback && capture; dai_links->init = init; dai_links->ops = ops; }