Message ID | 87r090vbu0.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011068.outbound.protection.outlook.com [40.107.74.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 3074311713 for <linux-sound@vger.kernel.org>; Tue, 1 Oct 2024 01:41:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727746907; cv=fail; b=i2zlw2XhYSaSt/lWvR4qn0lVi4xboeKz0WA3uY/GTrldAuMoiWHq7zBVkszQupNOkCZhiBbzAAKSYfPCOyKGzqByRTaNd/537+7RkHbQPWmMlL/IIF5sSlhMS0NTt9zc4/VaC6int4KvnEE/2XPi1OgxfVfN6aV63BOMSRSCrB0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727746907; c=relaxed/simple; bh=+KIvJZbiuxT+XDabxO78gQfFLnNNuo6vxDr85Oka1/c=; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=VAa1jGrKpz1XsjkJ9ZKErWZHCAblB1yfRN6eEen8Rz1/gJY+HKVYWFphfd61WY1dr+yOAX3dYa/MdW8GnbHmrHOigQq8pjE1t0L0lAfweiEQnDXtoKpf+KKxQCJdRjaccw5Oc6333jm2TpsoAvYnhZDwn8vnWdZLjyvPTaOTK7o= 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=Nlufazzp; arc=fail smtp.client-ip=40.107.74.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="Nlufazzp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OzzkKF6HuSMhUUOmHYKNmUnTRN2YvqDTIAfvtg8cdPVJlo3Bk+5bJNbKEM6cr8tHXq2Br8yc0ZuKJpI/aatpuC6xYtaM2b/8P6ecmLrj9I7y+pgrh+hUlZLwmOWFPcl/Qb03iOBtOmAWTn6G9Sjlp4/GnDef0dJDLGTeaMcnPxwRA+W5RUUW6vluvmHuXWDrUAphlgZQhIdPBFe/38pC2A/sqQGFBSvHFamuFexN7jCdJ6JzaA06uciny4mEkZVttxrwIHLWDtQC/Ycm8LDPqckmTY9v7ZBlAXx/3nxKiAjEmaw3chOStQ58x2BVm/B3YFfgODlyx8ZwA1GSZ3db2A== 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=CL3dhQsYj1QBU5i58qDzMRz7pQ0VE208LyD6uWHe3l0=; b=ctLuV1sJdHIRpfFfI58MzpqaEMN8iLt/elKwctmZHNkuR7D0vAWacryd53RCzrylLUL+jh3CtMqSToQLHkXy1+XzuMP1xBaoSYkEeJio/lTvmZL00k9Lx9LY+Cf6xmnEz5xMLbwRvps9PHQ888yW7pA3JQ34q6V9nhEHW0jAeGStnUgc7FCvAbMkUV+zTNoY/CG/PBG+g/LnVpibeMXFXEjR43K7Qr+Qvz403RDuhxwnstsq3RP68Mpgu3LFBnPFE/IXs+FR/Xl3vA2SbMa5edzX2D10BVysj0cjF7NstUoSgYoZn1i4IGhUDrZHjVhYN6P0/orMPncPsPYanET+Xw== 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=CL3dhQsYj1QBU5i58qDzMRz7pQ0VE208LyD6uWHe3l0=; b=Nlufazzphh+iFwmfgXqgr/C/DEwzyc1OQm6Adt7LjMrdhUHxY3p+E5jJjUP5dBh5Oj6qQHu/D1yp38R25mGQYghwSS5tjSi2ucgwJLepltcodcohG07NSaK9+7r6nd12OfKM92xEQ02U4r9oiuIfkQguTQDEFEOB2RucWpeWaoE= 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 OSCPR01MB13482.jpnprd01.prod.outlook.com (2603:1096:604:334::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Tue, 1 Oct 2024 01:41:44 +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.026; Tue, 1 Oct 2024 01:41:44 +0000 Message-ID: <87r090vbu0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 05/13] ASoC: samsung: remove dpcm_xxx flags User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87y138vbv7.wl-kuninori.morimoto.gx@renesas.com> References: <87y138vbv7.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 1 Oct 2024 01:41:43 +0000 X-ClientProxiedBy: TYCP286CA0030.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:263::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_|OSCPR01MB13482:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d8879d1-10bf-4019-e7d1-08dce1ba3473 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: ZyZ+6TtYzP3ylfgevb9RqajfhziaGRLQsTU0UpjM0yREFUclhWoXAFFiLgswTTeFiSi2NL0lgoZdlT7X+EPy0XjzZOfaZ6Hq8qNvPfXG4QnIyCgEe3f5YDu42a5hubZBCi0jixB0EHqaR8PbyDGvZhhEgq/1Sp7hBF4ohcDC2Ewv/WokGfoOZPaTj/HgsIERmm9rU0LuAv0dWdUd3PKvQU4SEzWNvD66BHECYibGysxYKIRsb1G3s7uNBqoD/yHrepn6XHBBlTpX65t5uxZh7/YjgayyqhZd/HG/gr6Z6AIHDKoLMzV1TXzpUiVyVuFDyf2+rVyuPqSJO/dz6B+71jjfh/A2/Vfqg57nwuzubl3XLh6jSO+egMN3mLQgRDbBkliaK5Pir3H6nPGZcPdCDW6sQvHJYEdYVjb2nLiJDSmO8Cq5ewTPKWn5WW6y/73ueabmmMPx4wD3whwkjx6UEiPvQJk3xWV+jiEvGNHifga1UhlP3PN6te9H844F+GWXoK8VzN1QOAecLJvJkCfsSdqfeWM8+cXy/oJOxgc6g8zZD8hDt90vdMSjpacezZfyBaH59wI1GDiowo8y1D3fT2gSctF3Ujcw8T+V2sxuEnRZ+YdOniZMyfCY8BHWqcmYLpJqM6VKvEr6oRVQe6y4Rcy5xC61KRO06pgAsg8D67E3B/4agKJqSoIo+s03QjskhGEKAHHMe0PdQp9MZwusGmTQbx2vG+imk9uqwJV7DC8vzhv1wLF2No0+Si5qwPwQcfvbKBAtjud2BsY6qpF1HES+pzC2JTCr5569BtHd4/Lx1JF0iaX1vg1tZUgZ/Xxt65clYdYOC4+DH3aNe+CPe7Gh46LREffaNcRyjMtJoo2QZ48Ny8B9Ju6wfAwU06Nx3Q/4u3RmnqtB6a6mT/WqWh6UIhIVPvAc+3VsmbKfHcoj+/AdQCnPsXTFi2C3HQmBcU69KdoddzXEksJqpAo+zxVgX/jfsG7noGdkNnANtJL+9oQvns2g/wioynFBrLdVmF28/wJDZ5vxn20S/r+elzQq4+WkfLRHaqn6LdxIJjQr+rSqPjDwaiIb45U+3m5vJPMEl5prYJ2akLXax7G0GbUKkuP+9n2QCFnJwiVGmHHz9ws28q8ll3Vb/ig7kCwfCEFCxBrIVoFOnKIMl13u91UDopeygdCuoCBkR/7qSPLKuV3L1JvSEHVwPKgYAFWiXPfYNPdaCoeNophNDUIozAnO3r17/kRvK7dle++EVsiM3r8dte/eDIvaoJtNDzh6mwKERV6eGEC8CcE1EgI7P1F0jy4p395Hy6jN2CckeYvg932QxWF47U8CPY91zOsAQlzfhQojxfvAyCRHXf7Eig== 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)(52116014)(376014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8nH+bWY+mCmhtqtW7g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S124/cjSPn0lj99sS8dYGFTzHtiKgdvAFthfDu63/sImQ1FTJZq5CROdCI6YHA9qr3RZg6MzC0tQWaWLWNnpaHB/9APMcmfcQEMSq1Bsp4gl49nLQW/sV0vhnd6l2n2bE6lQMH4Iz0c7i6PTRQArWMWwAJpmZX8IfySMOqqeIIkHmpQNR0ragQvkHqo7S+OpulnCb7fLtWTlK6zW5U8trwxfCuhlTcnCqgNzVAug4/mT4fgINaCNxrvssXlwKpLVYsZ7G0JbT6QsDtwg3nUOFpsT5PNdIKi7c+ZPDHFK1grHcabN+4spYkbUp//okn1rz3KDF7ZRsIAXhA1JmhCq+3/p13YwnBZpULC/1aBbvwdxdRIn+J1hzAKSaQtjsTprSbtobUaw2/VEUOoWCp2plEyL1UpgiUHi3xKVqLVo2qxd8JNtAtRJfaX77roiR/GBvLihWFuEVvmS3OB4GIqJI+1fHjOsATaCWFREwc5dWEjQ5rJHmoI3TByxFEp4+rGqZoBfcq49qgKevW0OCDoo7ps4o7JyyWhPi6qY6sbY4SUGQZ1m5BYok= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d8879d1-10bf-4019-e7d1-08dce1ba3473 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 01:41:44.0693 (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: SdX2CBW8YpAGnJgr+3CMGa1UEFWTILp4noR70pzgbcjsK10AQiMvcTSK7nHnk8uiZZvhUN+QcNgD5SxAaHiIceHgKtJi2VeGs+5kr0NDHiirjwYpwqVxWgKmIzj3peov X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB13482 |
Series |
ASoC: remove dpcm_xxx flags
|
expand
|
diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index ed865cc07e2e..20e17d061030 100644 --- a/sound/soc/samsung/odroid.c +++ b/sound/soc/samsung/odroid.c @@ -171,14 +171,14 @@ static struct snd_soc_dai_link odroid_card_dais[] = { .name = "Primary", .stream_name = "Primary", .dynamic = 1, - .dpcm_playback = 1, + .playback_only = 1, SND_SOC_DAILINK_REG(primary), }, { /* BE <-> CODECs link */ .name = "I2S Mixer", .ops = &odroid_card_be_ops, .no_pcm = 1, - .dpcm_playback = 1, + .playback_only = 1, .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS, SND_SOC_DAILINK_REG(mixer), @@ -189,7 +189,7 @@ static struct snd_soc_dai_link odroid_card_dais[] = { .name = "Secondary", .stream_name = "Secondary", .dynamic = 1, - .dpcm_playback = 1, + .playback_only = 1, SND_SOC_DAILINK_REG(secondary), } }; @@ -278,8 +278,8 @@ static int odroid_audio_probe(struct platform_device *pdev) /* Set capture capability only for boards with the MAX98090 CODEC */ if (codec_link->num_codecs > 1) { - card->dai_link[0].dpcm_capture = 1; - card->dai_link[1].dpcm_capture = 1; + card->dai_link[0].playback_only = 0; + card->dai_link[1].playback_only = 0; } priv->sclk_i2s = of_clk_get_by_name(cpu_dai, "i2s_opclk1");
dpcm_xxx flags are no longer needed. It converts dpcm_xxx flag to xxx_only if needed. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/samsung/odroid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)