Message ID | 87jzetlwgf.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 1AA00CF6498 for <alsa-devel@archiver.kernel.org>; Mon, 30 Sep 2024 02:16:01 +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 6DDFC1944; Mon, 30 Sep 2024 04:15:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6DDFC1944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1727662559; bh=+3iOY++1gWaDouYT9bhhdLFKqUAA/eCCpStrVxpCZ78=; 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=jyMDaAnB6oodkuGVWJlnoHGHg/rhve6suxlQPfPFvNYqvjNBOvA8C2tL+lIeFz9gd HUn1buDf+lNiO2fkWtp/8jg3eKsx42pnmSZIPkAr5gZ4/JHx2jYzVKqaR6ZXk7fou9 rMhPqP0oki7CskDLEewyXrf+4Dd8RHnq5ZfB6SoQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 516F6F80689; Mon, 30 Sep 2024 04:14:23 +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 9BAC6F80685; Mon, 30 Sep 2024 04:14:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E6223F80676; Mon, 30 Sep 2024 04:14:17 +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 03402F80678 for <alsa-devel@alsa-project.org>; Mon, 30 Sep 2024 04:14:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 03402F80678 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=AbrsAwHS ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HEqEpE6VwipzVxhf2o+IsCIZsMxpPxdULWA/2R6kkIJ60kaLVP5r+InvCS/NHjmgPuAocaS27Dpw1dWljq2Ylrof2oLNF0ureLTqi7goeflEgR8b0tImeu+J6H9yKqMbSk6RcVgKxGwnLdVO19bZNdFayr1uez7PN2huq6JtscNky15jhQY/BGdfG/sYvyo1pE5fW3JkkoRnM5Puk54lEjTbwlmGBFScR38w+Uz6D05UaMmVNi5ey75teSttU26slqK4yZpOT2XOzEE3Mx420Itkq7YJaCxRZ9/Kr1wGbKaviu0BxWVRF/TGavbiv7gafbvTzx4s33OhkU1gBis76w== 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=NMde+Gsewkg5yaN7cIsJHBgQ3crEs406DnvzH+HMtbk=; b=RnRscjEzmOATHLYxFMsd/NlQRxmOgKUsZLih9nF/6ZdPSYgE1Mc9g6lIjM2suQrnkrzhDFJUickw/SVePEEvPnbxgJMxBOrVg8VR49hv+QizNpifgPc5OpytS1XJBbub1Iw+ssY9hYfU1YANl1sMjPcJLhfSGLfzrAwEAm2tYpt44WkG/17/u+oC30DwRx5hi7fj4JhVsyRj2qexnptog7zqLcELyt8APPkh1Rq9tdK8YGj+7fFALVrfCpfjPMZL076ljyB6DpBoqwWEM2kJefoQhQ1gWWCRzBp9OW+Wdi5MuXQdQnuwRu9hMYArmW3YXEB2qDjYlUfCTgysCuboHg== 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=NMde+Gsewkg5yaN7cIsJHBgQ3crEs406DnvzH+HMtbk=; b=AbrsAwHSBUCsEQXNfEbqLxqc/x4nozKGpVyDCf/HgwuxF34HEuQ1HqC3MZ1K/aWVU2PfRG/+s07ENiXDtMwcje1u4twxlPhn5wCUHIfG8cN9e9n1MLBQr3UUhjz0IzMUIgpf3hZnng2zjG8fEr1R42ftwc5DWkxF/5ReTkGhk5A= 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 OS3PR01MB5798.jpnprd01.prod.outlook.com (2603:1096:604:c3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 02:14:08 +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.024; Mon, 30 Sep 2024 02:14:08 +0000 Message-ID: <87jzetlwgf.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v2 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: <87r091lwhg.wl-kuninori.morimoto.gx@renesas.com> References: <87r091lwhg.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 30 Sep 2024 02:14:08 +0000 X-ClientProxiedBy: TYAPR03CA0024.apcprd03.prod.outlook.com (2603:1096:404:14::36) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS3PR01MB5798:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e4d7d2b-700f-462d-63b2-08dce0f59123 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: QdI35MNTCLYkId5G2FaV9mHl0vBr9q9IoKvhsJ6zAOCkoKBqFXhMVBpbdRboS+QskdcW8dqJD+V5HU3Ib0t8oz4pA6JifgY8fFPE12/9l0cQWUWQESrVutPmJ6mIWoDJ15nLkSxc2voyzxQsXrxtxuWa6lloKBPEtMFWy6HAdjckrdHf4L4uFl6gFyQ8favw3Ibh6fHnV7bSVipqMyfiC61TD2IY5oPE/SfuL/NmPPult2yl/MSDNoZJp9rS99Kb7N9svFXJ5ES5B2z4IVgjDste0LBAORG4hbzvG80DHwqLMDtpqPln71M8Pi5gNXbgJ7v3nSkWGQUYu8ciDmS2AHPbCzjxPNgTWcjYQpnr2HCsrcil4a7VZ+O813eTcg+N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: 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: YukRzQFNHAgjw9HSds4+t16CNLcW3b0zQpVMOx/mwQFKOdtdyQg/qC23xUha+KOsxu+IRK8Jn3s9p0hd3wI5ruqnGPfsoNi/3wgjx0XAcjancYPLZQ6XSOYcBgwPvoUUS0I1HndguNmHmT24vEAwudjtg9V2ngvl/wZHTg1Zmiv3AIURKIz4oJkToUsCfwwMphCQBk37DwmH8X1KLQqeqGz8yCjKse9rtnMVQqkDhBR446/c3g/uhyOETETC87yXOgz8LdPa7EbjIACKzkZYMjTiYCilyjyd5TYD2XElqat48YMbHk9j41huUVVEDqSJLcloUhxnC8nV0dwyRuoTEWzXT3pevy55xTBBLlxaHg46rDEBtrz/ia9kLU61xwTP5j/q76GzdTUCAm8OA/PhTwBpftX5OK6FuGMjHtXTl73lQzStUf6JRNRnN3UUXv5NJ5Kpo0nQ8b0MADlduzzR/eKNuIkPNOb5HuEG+d9awXRVKWofwDdxFcQ85AaRPQPJGogBnO5XIQHm9Khvl8t/myjKICbjwBkXbQFxCBF9T6rpcOIflb1s+NNcjKFn39UGWt/zD8T4xLtlGPpNuontrGY+/VLwWqp8LgL7rShAIkxrPlGiuI6OFOUoMkCoxlfkWQzSsSBOx8qhGtQqmaSNDSb8aRsY1f4UTXlTumyDiool2uId5FOoD9g8ItWMh1OtTDKiX5aVMkP6t1fFzs9axPepTiJSEUP+8sokiTgPExk3NXaqvV5b1lz4z7iHpnWVkYe3+6DyHdeNAst+vpYi+MZ0z/JYwkCtgTnwcIXs6/bsHThcNF+nKqwdvIm47WV9Z/2zVYwOcM3mgDnKABu8rZ3SUmM8S3Yywlf5UwPQtyh34rTR2zY6u4Ct/gt0TpQIOiHmYW2J9yrDb7yphRwwTYmQqL2MTBj8ug/lzozzqcJUqzGEil7FZCdUmqFPStNN69ZupRbn+l0zWHcFPlYTKtfxsoO1E2ZhJgA5dR0pgH9Q3jhrwhLeQD2T3JOYdQB9FU3dfwT38kbEp2KADNCqtwj/0tx+dyqVh2LRhds+PBNyu9SYLzqvFPSZtqg9OCgS8B1Nmsbf34Es7ZgBT3gZdQ6vI0Wd0mXZOpAiDKgZTpBVCpkRFm+kwRj3PPRlrMjGuKRz0NKYdBWrLmeegPS3EcCyMSUT/0stn+H+5g6JPF/46UPe2ux1Fi2z2MAXKCnzcf6GGEpBJuU4BC5d0GbzhNbf0i65qAaPb9AU4ExQNz6U6cszmePQaj6zZolLFlo/21eNs+gq7KTTxMGRdbn4HK8pI+dNH5l0yQHkDzcd+IWKOL/ICP5tY7loePib/MleHvsf9SOK4uuDvmXjJj3puJug10aJrEPmP3ZEz/qG7E76gdPxSJVCzjzOlidcvU6We4pTDBf4+flpljIpN4ZxLzwf6nBPVN39LssKZkIo7vv9MzNXF3PwUTQakqpReQikA6pLw6nbTeYLh12QfM5uQl2pTP2CTDqebtlGz31dCrECLq9Z3WLZsTcLdLJoQPxTkAei2LCH0tzjY1TQDDpuEo/9sBRHTWHXlyQFxxbIbxT9hwGOBh8O/+EY76mXWLujxv8TgI9R7WWZW4FhlBhQxIU3Qf9reMbGS02gbtlLF0c= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e4d7d2b-700f-462d-63b2-08dce0f59123 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 02:14:08.7132 (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: wVkYMMsjbaNdV5DIJ3yWbC7MPa/jOHiR0lds1EdLS/d56AGupXrdyuK+mbCmXEi+x3K+btufBf0R8vmCHw7VaR9e8juQrw/zi52qlqq7vTpFdiLju54BMn34w8V+OA9T X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB5798 Message-ID-Hash: 5YVMZJZWQ3J447HYGXLXS4NFD4WN5KVL X-Message-ID-Hash: 5YVMZJZWQ3J447HYGXLXS4NFD4WN5KVL 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/5YVMZJZWQ3J447HYGXLXS4NFD4WN5KVL/> 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: remove dpcm_xxx flags
|
expand
|
diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index ed865cc07e2ef..20e17d0610301 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(-)