Message ID | 87h69eqj4e.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 AC196D1815E for <alsa-devel@archiver.kernel.org>; Tue, 15 Oct 2024 00:58:49 +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 BCAC4868; Tue, 15 Oct 2024 02:58:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BCAC4868 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728953927; 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=Cf0oF2hN96DnXb/vhR5ZSqMc0cPq+9ItgtjHgGuFAn9OHhbX6/i/Cbf9VDvDcpiSq Zr269ioHSSygwiY+5x6mNrYf8VCb1pyOWEPAw4PTGrSpavu4hnPGSWnDrLng3cAuPA lVL7pJ6fFBD5JcTfN2dydHrsWwta4/evVHe8Q/eQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0860CF80693; Tue, 15 Oct 2024 02:56:33 +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 613F2F8068F; Tue, 15 Oct 2024 02:56:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3EBC8F8061C; Tue, 15 Oct 2024 02:56:25 +0200 (CEST) Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazlp170110001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c407::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 9F40EF805EE for <alsa-devel@alsa-project.org>; Tue, 15 Oct 2024 02:56:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9F40EF805EE 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=RZtWdKN5 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WuF2iEJDGPbfYCmKP3qRoU4RVEggjyhPEyuy+nO/GBegmzxB5Od1gt9IWx67hTDHHFDFSoW3LjmKs7TyynDlmckNUoRB/J+1T1eXZqfnRPSvcjL6IjhiNDwxu+uU+NdglROsRNSkvwuQrzFh+LNOY8w5Ohv2+qpGmX3gE13+cXhMLd3ADxt/MiicYNXixj7Ayt97V5DzFeZX4Ixa0Ddp9lFkBQutpomQGmyaZeE454j+7gdE/Ykh4pu0jSx5+NuukeGSm6DDXvegaP+it8X05unPPstN5HGzWDaa2QJ6O32uAHZaxNzJ1S+zyNSzsbxgKyHaEzxAATUYD2EJXmLqeA== 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=qPAT3H2eJrLlDU47cporxEucBODLCNFkf5mvSd1yH4I5v07Lm6Zbb5PlKCz0agbhwP319YOtHwLHrqfTsd/FmNIN1YrKQZpgopTLoxPClw85IlIrzudO2wS45lO/w7VNZKLa15lO6+fyLqGa7kEM+Aa2r/uT2ndNUZ44DM3aXCY9Gg4lzeabbv0TZ/ghBGtvWY3vjYScc5Bll5K8nSREBI6gpJA2vtri93sBRklzsUz/fTIk3PKfspFMddVCTf+QNqAzlRluCBUXI21YD30N7vA8v/TO41z0XNABFiYTzePC7MhpFSW+emUVNBRWy0XOzmBlQEytV16DyPvPIxPyOg== 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=RZtWdKN5sAMvNxU68+aSG6t1d65Q1qG7tssCMZb0Z5+Mw5TX9lDLH5UShtFd8kpoF0mxQG46IDlo/Y5FGH/xyk9+Lb7YcDyJd6+i8axzS3VQC7yxJE8FvB7++UZoTHiAH4NkNzW28o0r9COv8F5lUh29+ua4gQR2INOOHC1IzNE= 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 OS0PR01MB6130.jpnprd01.prod.outlook.com (2603:1096:604:cb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 15 Oct 2024 00:56:17 +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.8048.020; Tue, 15 Oct 2024 00:56:17 +0000 Message-ID: <87h69eqj4e.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 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: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> References: <87o73mqj5b.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Tue, 15 Oct 2024 00:56:17 +0000 X-ClientProxiedBy: TYCP286CA0288.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c8::16) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OS0PR01MB6130:EE_ X-MS-Office365-Filtering-Correlation-Id: fa7693ca-fd70-41df-68a2-08dcecb42d4c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: A9KEuBCt6yLmh18TgzrEuOc9UO1YImEeZ3XAnK0OzTi3Wt5ZEQTPk+iXHwVNpwNknHPAs9FEXUclslLQhTqEbNSj7EuxKXSbGCtWO3bT4/+QAIfKlobO4uHdq+EEhEj2OAOgBsRLDve+jQ4ZCcA3SFoe6MRlDp3UkLQdrcqfAs4Kbx2g9BoFi8bjqrdA4JI9hRZwT2x1DS5F7TfZGsY2FnFQ3AVU2rh6jbJ7yLm/pWIgjt/E+0AKRvAzwt8VbPQ4SkSh3mE4dN65xFsNu2Ze4GnpyxawrKH0V5G+RBRglJ7OThXEihWy4+O29bTesOYhyCF3VCGKUloZG7mV+xiPB/HiHF2ZKBBc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PM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q70bcvr6zEA899xWwj0J2w95rsVdr7IlC9Jdf5qGOau1RzWzoQVa5U7Z9VzTXQ9y0XmxRaXln6mcDZO6R7xmx044nBqyXxNuOQ1Af4IjN6/tNYAZWP/MCpjwenn5ntx23xcHwrvtOwSIZc8kukRJtAbyfB5OGds3Pq8TnDHHQR8lu4g7f6EXO8ItjV6xQNr0roseu1DytwDVu1JVZUyRDLHDWRoRbabZDgOzjezxaQJISn8WTyVcdey6+3ICNlFZc3q5xU/YsIfby7bfgQ1ROeZwSlx8pSimLgIzlLp0UE0petseoNTdQ8A45vqLa/ZIlBwz28/XvD2WVcYwqCiHIgt7nS+KzFhFY/w7yxjw4t38uIPLteZ6E40w9cUY88nkGbx/MHEi0jSq4czJUdBVzKe5iZ0u8D5ZBgakgaJ9O8EACnYx1fQEtAUYSiFLPBGxYkr+14mVee5RdAunEzP9itFwusN0xZJJCu1iHhucFEiLbHsKo340A9U3z990DtOxd3lcqsUakNlga2M8iF4Shww+0hegyplnYy+hQ3U2ilbZbV838nzd6iIxCU8AB/lxK5RQOm3ccWk+YcxO3A186D4AfWZVWA9J4+HPYz8hBY9ijQuIy/DVbfE4X+Ivb4LAv0fCKSYm1nDT2NSQ253S0hs/hz9n8FzoaxviJiY/WPU7wypxMX3M3ajrqeemd4Gf+nowJI0VtROMRfAnSrEUDysFvivx6EAXersc5RioQJlyYmdoJ4IVXBCW6IOXJ9gIGKt8mXNr/OL7golEJrMiE9EMg9hB9gzQC5GJo7ehrVZ3GmlSoOJf+nOEEaz5XO99EKwkjGPAsEeROIavYUU1r/BJzJrBXFxLAE1E37A6K2REquASk289FUnOC6fykn1h+UEmSql2FiVZkNG9alXp9KirxTjLfCF8RVe8/DGe7QiKa27dd7/ad5PKaIQD5Pb/dRaOmgH9frkNhMo7yXaOqDMFwnARALCYfyMonByLGbh+IBcJOyJ+sAWYlaRxrTTaqB8fhES2SU1hr/rwyXJZdhd06Q3QwP00qrFgQgD2PJjhlO8+wPjpHcBo6iFf6qQKGL6AZfQPJvuGvYT/ZhVsF+mvK7Z2U0TppxU59AafOz4O9eNQRLocqXgiVCs3gi6k5xdaovXoqHPhwe8NdPyi9OJjflFhXmMjYJtAHNPeq9zslDYTMRs9t0hXQ+dGcx9JUxE5Rx5EUAXpEViiyc5yIcbw3w0Z+fEBgTHYuXD8uk0CDtUfWETVQiwqtspqOuwrAR7xWM4Wwl8j+Kas4LVtE+69noYirV1jU946LFqxXO6hGCvzWafXeej/Z88LGlInIC29CNSW22/cqbcGsV7K3BumcseFSMKZTFd/2HimR+o9EvRc9jaqkoP89GK1rixfaP3z0eGmRZ2IzVYXbuIo7h8c/2eFC0kU7ip4K2sKtYlPwPj0zeTg18wMJh6dyhUFKGmoaQPurA3L2e4N5QTdDAo/6oilNMVb7exFJh2xj/4htHmQse4J35spNKoc9W+Ud/MTF/kaLb2IiojG4Qpcd21C5dkukFNnTwI6AVDUJ4hrhDshUeR3EO155LE9Vx4GelTBwR05ec8yJmU/iQeyt52XxiWH+4varmnl4sh+FYs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa7693ca-fd70-41df-68a2-08dcecb42d4c X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2024 00:56:17.8726 (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: cc57L+54OIhssMRYYB0Px4l+d19WjHkE/ly6Jl8eg55AJBJeQQUMJ8VB1DQ1yiZeHPcKo1e0A0/0RZz6DoWC/LXnvdf4j+K45koiZJMH7zLew1gYyM5mmq3F8FzSzv/T X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS0PR01MB6130 Message-ID-Hash: BBMB4I5KUKKY57M4VZM7FCZHAKFZCUIB X-Message-ID-Hash: BBMB4I5KUKKY57M4VZM7FCZHAKFZCUIB 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/BBMB4I5KUKKY57M4VZM7FCZHAKFZCUIB/> 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(-)