Message ID | 877cd3lmid.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010005.outbound.protection.outlook.com [52.101.229.5]) (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 A14FF749A; Tue, 30 Jul 2024 01:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.5 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722301393; cv=fail; b=s9tcDM3Lk+Q7hUlnrEtW+Iid6dal3aADuGbOVLWgeseIU5Yyzhm8LKNHveiHUctEvRpdJbLdI24sCzU2AWP/1vOKCQSZ/0QlSLcXMJTsinV7qNfiHtdGCTrMhli3V6wWjSBJi2BSQbr9kFIWkRgQpwpoq/JnE9rup/3rvH23ixY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722301393; c=relaxed/simple; bh=Uz/kPhm+sBwzmYBtIrAWuxVrZiYDofB26JFdChMs134=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=Yz8mhMZIozvyHU5D6LIr6Lv0nfp/eZCgGjbEZweiIJVSe22yTmWhPb3KVa24/PXfj015yzbzXzocCiwY0iMYXGZnmMOOzBgbiYivNT6f94Yl2HPZqkp1J6tBt6Em8q/fqA5+CWGR9xNkqdsi2n9MKlzPu24D12gOgJw/dIzXxa0= 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=Y0l4oqQi; arc=fail smtp.client-ip=52.101.229.5 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="Y0l4oqQi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FHNM4yw/4tpGy78Dm2088keqxeZRKvlSjUTTVDLIOFVflyDR9qeZohVQRLb9Pbxo3mYLxMib1mPhqmeIvmmIKFZHtSxRyig0DZX1RSu7aNl18ZTgUTfyBaRr+iX24Q1hc/wlLLbTDh5d5XrmMp+Bf1Eb4om989dGT6Mrmx12EyXkDaPJ3Ntprbt6JuAPpJ9j2LNEUER3Opx3AYekyKm972te3ZrxzthRYoh2eL3CD1sEUzkIs4LQaUtQzwtgJn8W6A/P1jioTh66Ay5Odl30EgJHlYVrZujSX0y2iz8a4D0cfGt063kUvvmS64BZXOO4Epe9cNpLwa+wyPSvzw+yuA== 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=d07BmDK5flRTcQ0+f2XxaGi76mesJGwHsriDAB1CJ1A=; b=qfCgpnH4UijxuZOMRZH+ERg1dF5VDEw+7pWMmpKdRiyFfqqlmP2RB9QjphZh7qs4wsBLChIVw7EO5b3TYGzG/nNlLQZ+HOdT8jXOXOeGzI3FT+0jH69Xv3qNvqwaFm3PgjGPoK3aD3+Cpu9hgDZgB8uDTm8hAP/Hmd18l7u3MC6flC4sBQ/hsV2yYpzGZX3+kt86Z1c6SuKwezX6Aq/8+bmXyhqbxfOpvCnKzyr8I0P6tnTvIfPRTOrBGhNFN/A+QDKnLHDAco/fWq/xtVWQ1+yihRd1F/rhAEU95A+9L552at5J+Zr/4v++fW00W9mjV4GNYPSH3RocoHZC9zVmtA== 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=d07BmDK5flRTcQ0+f2XxaGi76mesJGwHsriDAB1CJ1A=; b=Y0l4oqQiogsdFZQ7V/GyprTLPoCxbs36z1UqZjXV598Te68Vdg2T4w7joKXkjsSi2ZGfwkhkiInP4AwO7rxTXWYxNJrAY8Gy+Rafkk1OMa7PsLpzcstYAMAD7xzhrxHluxHcgeIBTnpWOLfOq37CqhB18p2K6LYiPBG+FeoMXDU= 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 OS9PR01MB12484.jpnprd01.prod.outlook.com (2603:1096:604:2f6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Tue, 30 Jul 2024 01:03:09 +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.7807.026; Tue, 30 Jul 2024 01:03:09 +0000 Message-ID: <877cd3lmid.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v7 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> Cc: alsa-devel@alsa-project.org, imx@lists.linux.dev, linux-doc@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <87cymvlmki.wl-kuninori.morimoto.gx@renesas.com> References: <87cymvlmki.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 30 Jul 2024 01:03:07 +0000 X-ClientProxiedBy: TYCP286CA0226.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c7::20) 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_|OS9PR01MB12484:EE_ X-MS-Office365-Filtering-Correlation-Id: b35b8924-a2a2-4393-0867-08dcb0336069 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:13230040|376014|52116014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: LzhuE6S7FTCY8JV4E3zNKQ+i5PS37TT3plLNTNimkd7129ry5xrm1KzKhsb731dy1ERfQWsb1JU08Df3XAYV9hjbbQxNYSmTBG4d9c22uo+RnSEpzfMPlxuDn7mLzi83otz0YWcdG/VdS3VX27O9GgafUpuhTzAP7t5/g6/cP28OBXAySjR7Y+YfbesBF55gBAkvVlF5Z1dKJKIEMjNA8oI2/rrkfJL6/Yp9FyW2RQYflxPUx+uAylYHQvuSXmnknmgM3b4cEGqHkYVi6SEkrfq/8z1y6R5ts9w6+hbjnETARuSceVq5REtMHQ5oS+xGnae/G4WDxVb44t9DsyqULTOjD9xJah24tIIokpKh6I4Yn3Os9c1GYejT9/TbKwoCqQNsdW0qn/85sn66bumEvvLJ2aJnTnYVeYFzxHg5etZpTB2l827ReabcMxEAEj5bBnRtGMUE7DQ/Z6p0w4kebKo9/3GbyrsnZC98/2Lu9KGgveBe3XF3lxCiN90qCN/4GKAhwM5eg+sKTKYm5BkVqT5oB64M2FP+EL+Wlo5pbanRpiS/IAE1D6uHwIn7jH0i9m84FBHTBJlP1LNF4wcraiC2jyo0ioWLFmhG7Ky72IGfSvX8S41aRWhREeJYl8lHm+n/A5fXQakI8xOa+NK12DnkQnCgFN2gJyz9lHph2voDEY/XrksCWFu2czvJkF1rPCtjmuh+5fcJrQeCEdGzi56h5DI5UxgRMSGykd03E6rYdRoZlLqBfrW0r+cdZZ6MSPVVPuTex9LgvSWuqjAZElyLW8DfRbN2YKzHhVNl+r5ky89cna7N1HuCT3tycmXr6fP+GMZXvRu6FKKU7lh22krideaOMSkB3cZMWJIR7U8CWv+qpK3MMFEum01WrEM41DETQTVPRpNljaSRADATK/WIYpq3korsbpPmX8R1UoPeLFSYKlMUOSl2c2Sm2lQykBeeEqNv+6O4jgLRxhjNi29hpYZ7YfbcB+h4IdWUcwnXwDFikkSVUSSyNINpvFoH1+6hFnd98/HsFuXxKm7lNveu1u+B4voL0cREJYHrhT0l13Dj8YjRtoVf22i//VS0r0sgKG0FbRgsHf5rOHef31wHSxKcE1+cGLYvhqvprtAyb9UtcHnVGxLFa+Rs5kO6fAYuSyouKatqHSchpZ2jNiNpabU8JxVb8uJ94cQDxDbxLVGBHldx3QEyZ9F3cr9TTppE+R2sskqBw7aGYCaqiaw3h1W67qvmrbLM3Ptsl8tVTdG+RfQrInFhQLEMtZWDm8VG4n6VZBJ1gTKJtccHaKhAQmtPzC1QUxyfs/YQ8Z+fUbJ/SD4JX+lxGwiZ9x8UsOtFPYw3xepbLlPSFLGNybHX2C+UoES1vYxOmmH8YTfShmNfwrlx90dDDh3rC3hwl6YSRroWUX8PRAJbPx0tVxk+VFka1aETjIZU1FuBtew= 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)(376014)(52116014)(7416014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-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GZA9C6yn8gOdnBd6903qnzxma7UoEvW2fH60x/Z6JMn8qUIqX6VpXtW92lJrUXS2kYxvxzGmicuAqq1J7ohJ16PjEHQ6YfQzgo3dfHp5H+5oOour1vhp0zGsLBGhQU4xomkLDWqDrYB5yPsYy1+1e91e/r5LhJOJ1LlPVCCbwB7lDC+47llq7BYwwSCk6kQ9i6XIVIlfnsr9cyod8XFCDsqov6q1F9O3IDETJUBwiKBUxK4hwTxT6jfXQ0P4bfLU/APGLGeMsreXkq6sKIVTQITEShwl/HafIV6y1+OV5b4kZXhMXDFb35zZ+5c/4t/wk2hjKfs8agKUlsdolGAHpJ6hoKvGgOkuCcci2zgWBLsd3dYoShYhlVKyS9AMV+HfRvkauEKSa44EzvgH7eoQBUXkfUWjRj2RG9SKCvykbHjXHNfhxhicexePVqYKju7Qg3GB+Re9eLTmAarpSj4QL4apxMGlzAi3gggES2hfTU8gHzf0ZWjLKIgfBxVx2HsaeMksIkQtp4N4fvA6jDrgRKsvvIKj8RjcXsTt59+ZZyiwv9kDQJWDx6O0OVACVfnhkGgGMbxRZVqTUE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: b35b8924-a2a2-4393-0867-08dcb0336069 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2024 01:03:08.9756 (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: q8EDUJ2BGlab+gfaviJXpGPcS2xLqxTblHsAl3Pax2ZzdDzfjEshquDy9Djs4jT2Uz7yowyrkk0uc0uSo6LpHMNejMbx6aMxFZ5/82vbtrw/H2hJyPSBMpwNJIqpi/Su X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS9PR01MB12484 |
Series |
ASoC: grace time for DPCM cleanup
|
expand
|
On Tue, Jul 30, 2024 at 01:03:07AM +0000, Kuninori Morimoto wrote: > From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> > > Prepare for removal of dpcm_playback and dpcm_capture flags in > dailinks. This seems like it needs a rebase against my current tree.
Hi Mark, Pierre-Louis > > From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> > > > > Prepare for removal of dpcm_playback and dpcm_capture flags in > > dailinks. > > This seems like it needs a rebase against my current tree. It seems Intel has big change to shares the code. I will post v8 patch, but I think Intel want to test it before Mark apply it. Thank you for your help !! Best regards --- Kuninori Morimoto
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index e5feaef669d14..17581473343f3 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -1289,8 +1289,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; }