Message ID | 87ttbdmhjd.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | New |
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 C4E82E7717D for <alsa-devel@archiver.kernel.org>; Mon, 9 Dec 2024 07:40:36 +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 BE630DEC; Mon, 9 Dec 2024 08:40:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BE630DEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733730034; bh=Q8QlKXPR8s75XN+Fh1G+bl+/f0WYaAdBRcq4DtSgYXM=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=GtGAcuxoVauiyVq4YGCdXnL/OvYPSaMjOetE8Jv8/kwqkmNwVYEboaMwA2GS8/GkZ pXZNeopxQkS65X97vYOpkFa9k/0UvXGwDeTcAS2xBzS7VohO/bJkg8eZP69xIDWQ3X fAQOLNswy7rvUSSt8hySnlEwhdb5NI6OzK6eVqcY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BEEA9F805C3; Mon, 9 Dec 2024 08:40:10 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 76B5BF805C7; Mon, 9 Dec 2024 08:40:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 25DB1F805AC; Mon, 9 Dec 2024 08:40:03 +0100 (CET) Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010065.outbound.protection.outlook.com [52.101.229.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 620AFF80533 for <alsa-devel@alsa-project.org>; Mon, 9 Dec 2024 08:39:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 620AFF80533 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=ZvH6RASM ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mA8cNqWtl3DAWxDP4Qs15q070XyV+i2xGBcY8eeFhmWeVcVP6VgKIIirAKNzv0tvpekeAIdTxYyWU9jtEUZhWjeqkkF4Vz6N5goTwQfad2PUL5k18O+rsAnjtmVKnNa1M4p5goobtiJAdPdbjlaqN+TkpV0nOtQAIRLWY/KEs5xgvgWHPcsHjdFZ835Z+5xVdblI/v5VpsX73BbsAFL79PxPcGSTLubwdw40aCErK7TitZ2x4BCaSOXZCreDimfFf6JPQ7ECPg95eldek+AdBI3RLWHaGJnL9tXT3/BZcKwYW6QgO7dZ4wdhkOI2k4ZHJ2X20xIvpx7Y4b91a05mmg== 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=q5HmWH/Cf6LPuqDOZT6MNvxQraeIjUGefr9rsl/vliM=; b=FaLWDQH42Yctwa2u+vYC6OhtnAcpl8+6WG9w8WUdKOY/y/u1zVnRtqrcHeJGDWGgvPisQD69qF9f+GSNz3W5rZxulOZ9qbhQsbdfzPoLoC2MeYsksXhA9NccVvh2A9fiNcFZWRAiFzmmqdX+au4lCxD+2Na5lh4bO3UW2L22Oqab07N3FlXXBcUMTE+AdAXvZUYcny7G7mDaFeDBP3I/6eDw1V5VsKcCfwiwdcsQoIy94HdR+pEg1WQU5hPS5bYVitm2rCYYTvn0NQsTv/vnIpMFmBxBtb87JN2BKRwmh1InFoP2xy3QzTruDbLfucY5r0fSS9H7DnnTLtb5xPpcrw== 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=q5HmWH/Cf6LPuqDOZT6MNvxQraeIjUGefr9rsl/vliM=; b=ZvH6RASMjkd2XHBMzJ3U5k7t56fQePr5ctNRAK2wbCpgl2amhY0a3lkuYAoki46vpfs5ipH0Djw6HcnegGL1W12kqWvz0D16ipEnSt+Op4+NUaaaJ71jy1BztO0Kf4GZOvoZLNjm3dGq6xQsFGnEqcPebuAjefurqJgJn7GFPYU= 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 OSCPR01MB12968.jpnprd01.prod.outlook.com (2603:1096:604:32e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Mon, 9 Dec 2024 07:39:35 +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.8230.010; Mon, 9 Dec 2024 07:39:35 +0000 Message-ID: <87ttbdmhjd.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Nuno_S=E1=22?= <nuno.sa@analog.com>, =?iso-8859-1?q?=22Uwe_Kleine-K=F6nig=22?= <u.kleine-koenig@baylibre.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, Daniel Mack <daniel@zonque.org>, David Rhodes <david.rhodes@cirrus.com>, Haojian Zhuang <haojian.zhuang@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Lars-Peter Clausen <lars@metafoo.de>, Liam Girdwood <lgirdwood@gmail.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Mark Brown <broonie@kernel.org>, Peter Ujfalusi <peter.ujfalusi@gmail.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 02/17] ASoC: codecs: cs35l32: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:39:34 +0000 X-ClientProxiedBy: TYAPR01CA0187.jpnprd01.prod.outlook.com (2603:1096:404:ba::31) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: 31dab612-52b5-4368-9912-08dd1824a0d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|376014|1800799024|366016|38350700014|921020|41080700001; X-Microsoft-Antispam-Message-Info: MLvvCWlDisjxi7htlLwWsCi3QL9OPjAJNmpwNeADLmu6/Hmng/ivlIa6vPnKkulebF7AFgSgw1KSAQNGUuAaYGWQ+whgbo9eXsKzYKFZA/UMVhmvU5stUj2mPgELZ7LNq7BeXh0KAgGwQlfMtGzLbWLu5m8paUGsMnZ775ZVDhWgNMU6bQxKmuGPJu7nkvsJhXzcOv+shSle9Es6MQKhI9wPdSHuk0aykmMiCx9I6QimYMwgpzoK/sSHq7mH7E6nDF5TsgjTa6SrW4SFzf+hpywCgbQBjpBmFjjRAgTHmWStEwtePoOjo3nLNPcEfMy7vmYaBHB51DcU2hq1KJJBhdx9/QfE+8407Laib7AGiEZjYxd6QeD0fsWM8mo9j86ykCWSEK0XcNr2zT9sJX17o91NSZIulP/H6S5jQ5wPYtlcHliYd2Bx89h2AZ8u0W/r8JtET/uBDTiGbUBftSdR//KFF0OOJ0TCxIAOuHRDnlhddJQfemkqPVJQi/6Ye9d8JWFk5pw+uvCw9QFIuOstEm7YrRYvpJft/RhOgTHsZz1jXfs7+hD6JRUkc5V02uyExh0Lbw+Rn7EwdtalGdGio3/KOFrVbnKBdqm4c2SYG458vLxy47zYRGFi1EjU3DWdyGCHCwi9UIMTNLSgpJoIM5zqhODpsWJMfVFeH32e/d6zrc52tJ7GDVGnMkjS3mJb+RdzLGtdKx+3qN7xC0X+MOeemxuZHMyTews+KTxID/2NA23hbVXs05WVeWSBezCXsUbdt/afU6v1aSh694jo5BL+W/KKKhrDyHxWQ4q5kLcR29eYGSdscVQxa2Jy8EkFmqqlE7t4O7Th+LgCSqGJtJA4Dfl9yaM4NXqFFBLy7yUFNEWCCIof2jUdVXT5ybVy4RSvvr56fDb5D9bXqDVIUMIX4cL+rv5pD0DYhIQ/DjOT/GeflZLMeNwZ0iCCvtjczXBt3jVeelyLpAO62ZDiB3TcIEuTngVMDjTG8L1CSZQySMu2EXCIG1Kf5sMJQzO1reztwQY73KoQBulEU6kzEIqcEPdZaP0w7gjzAfTm7z+zmNGDhxWeletxty1YIWllBgLKj5sO34198xE6qxo5BNp8F4feHni1u76e0zeMxwfstYsc3JLV68y566yj9oA/7T5hacviQf1dVrK0juScWGF3+oROmX7C4U0DgxjvA4fn8Zn8HEcQMeHoyoOjkvP3TwZuBD3LRKkVz+Q71mfnchBvqf7Fln2/TJfzwxPvwGqKuTIBvrRM9khqcVPQaqRQoosEl0nu4KwjCo/wEja+DIZzhcQGDsNNOKXlwq4fToMao0tlBmxQ14sDVN+dB0OZ6oesdfB7gK2WvpucfHwziCIR4EUPeEEYR0XyuH3CXZSL255qQIWIOqJG0FB19W+7VkbAV/Gi21lGwJVf5kgAeRfvhtlKsIH0xWwFHAzsyo2Hh1aynSR0514QW7M7gBaC 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)(7416014)(376014)(1800799024)(366016)(38350700014)(921020)(41080700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YhWOgMkJFcar1zxTHxcGdTL9kI45lVzLvt51DHcT+pHHFtBMaJCkEPt7t4IPpBVt9L1ICf2vj4YnE6hC5/GWc9PY4KxOdvZSMhBYmY6AdCvc56ReMNkBUzUJyN3ssmEw4p5RTaCEYtOUu400jxBLgHuBBNsMgEuXQqEe2oq1VqTB3NTlh99FGxKbOpY2yZLBgS2dOBT+mkaFIBRwC9m/jt+iEgT9WprhLR+xMNrEZSeUoTaEVmkIFnucwI69w3U4zxJF4mHDC/yciGiiQXY+quuTHl2Nzhne7TS4yRAB+DJAi64+HoQXfTMPkyZcr9gYDvuyBqR/rvCB4uy6XaUEQjHHacuatYgn6CFZvsQuDTetk3Rp0bj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bcX19yv9OL6UaOwS5guuNtOCRaRNVFl78LUkiEZGOEidhzcMTnDJV4iHBH9UpabjCVhFaJ0jPfofsqYetz3uap2i7AftFr7RIZMcz8X8ZxgdjXgUOYNNh62BnUokTeIP2sTIrcgkgmofea7H50QF+fwuUd6lAYynja0eBywIYxtIZs2Re2AdlKSYrW9O+GKTok= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31dab612-52b5-4368-9912-08dd1824a0d8 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2024 07:39:35.3918 (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: 5zpveS3/TMtS0ohEQ3DZhy00uM7wHTPpIq6CtXuEyT9NhLs/sI1L1LKCA2hj6m5Zay4gWV4xlECnbVvLGNtnVwg9QNRIBrrQysoEQdHWbaYGQ2VXm1zEkiBHAaUd3xDV X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 Message-ID-Hash: UET7JUEJZ6A2PFISHFQ7MXOJMJLSW6EE X-Message-ID-Hash: UET7JUEJZ6A2PFISHFQ7MXOJMJLSW6EE 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/UET7JUEJZ6A2PFISHFQ7MXOJMJLSW6EE/> 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 snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c index 96555263e10b8..cc9decb593b54 100644 --- a/sound/soc/codecs/cs35l32.c +++ b/sound/soc/codecs/cs35l32.c @@ -169,17 +169,8 @@ static int cs35l32_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) return 0; } -static int cs35l32_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - - return snd_soc_component_update_bits(component, CS35L32_PWRCTL2, - CS35L32_SDOUT_3ST, tristate << 3); -} - static const struct snd_soc_dai_ops cs35l32_ops = { .set_fmt = cs35l32_set_dai_fmt, - .set_tristate = cs35l32_set_tristate, }; static struct snd_soc_dai_driver cs35l32_dai[] = {
snd_soc_dai_set_tristate() has never been used before. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/codecs/cs35l32.c | 9 --------- 1 file changed, 9 deletions(-)