Message ID | 87ikrtmhi3.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010032.outbound.protection.outlook.com [52.101.229.32]) (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 50939215170 for <linux-sound@vger.kernel.org>; Mon, 9 Dec 2024 07:40:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730024; cv=fail; b=ug3lgPeb4yD8i7Sz8mfEkVSSJWIhOc4iBpT6scLvin/KJJRMMliELr8lsEBxkxl5ObQmvdu7K86TbgHP9JPfpbfzINLjzpUthO0ISRhN/qHAi5K+HU++MXAqfUHbJvPPYs7USs998Pk7qbgrwJluMEVkr4VVdfaxm7YOUembtG0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730024; c=relaxed/simple; bh=rnurwG50QVzLfophTHyhe85MdX87qEkkmeaUmJb8iTc=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=HVHINR8osvvmWrjDRjz6p9ZINejqaBhnwDkGsImdJV1ttpat7w9lY4cP1rJcsSkoZIspz2bBkxdLvqs+MGMR6pzKOPAgi3YTXNbsE+J2wjYKtiPu3iR+0VBp6U+kwvwWD0jLGk5/Yn2VWl/amCgf/x4BP8oVMDI1M9QhmzbW2Bs= 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=Qqb0Itfm; arc=fail smtp.client-ip=52.101.229.32 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="Qqb0Itfm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wU034WsbrqU2zfNl+vvvPmfrCAmolP6PJwYk7/XF8dkBChfODMcWPHO+kUnhjxfevoTtjdI2Nmyoo1ADqL0SWFr668S55QCucrqh5GpB2a0q0qFbKdpmdmJG5fRODswuNK9UW+CeNwmazQy0Y1DMThBoGn/RFKEVhqFgALI1GakeYK2MC+n+lQuG2acPptzR049TIReyy3JUSG66ffu6zmSsPr4Iu52xli0jSrzcJlCSdvFdPx+PJ5JiIWq848s6acyK9NDSZosXvmoghpxXgXmsT51QTLK1bZrQRQEQXgVF3CmdBaWCcws0necCCdv3iFvhpQR2+3wqkIwVvxt+Jg== 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=/FgPx9fw22gg81NHZS0RvaK0fCX/83EEnMV59YKBVWA=; b=WYvfF5qhRR2b70d/16JoY3KDuykcwF7BBI74HvxJJhKax4wrAc64hZtzbjEl9zuwO1CcrYolETxp7uqqOfGXkRNYrsCEWlIzBbTDCfr4PmjOoZwkHUY3yw2FC75DeD0KIxgoT4kYltZgy7NvxNacKgBhS2I9uxJ1YMwAX+vySwxJyxWohm3p5Hk0mCkkxBpsNLICjdqL+We0L6PuYQOfbIypf3BptxOKCvcaEemt1XR/CLQ9jSiNmQYlEGKGm6aCuwpJF/SMS3ZBEBxDyQBwFEKAr5XCU+zxBMAUj2bHEbgHf0T485xfO0MJojhah915safwJ2QVGCY1s0Eyzh3WeA== 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=/FgPx9fw22gg81NHZS0RvaK0fCX/83EEnMV59YKBVWA=; b=Qqb0ItfmbKYbQN/mw0D3QKlJudH4gqeENVcyZHdWwpLV/u7S2l2ZB2jdCtrg7jeoBJ0UMI7ELPunMeF0X/yIGvoeUnfnBl7/KU3+vf61UsV4/UXU53tifNq/ij131ajA8drfQ8c/lqR+2t6h6ZUYjBbkeisxPUcy3jBNfVakcgU= 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:40:20 +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:40:20 +0000 Message-ID: <87ikrtmhi3.wl-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 From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> In-Reply-To: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> References: <87wmg9mhkk.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 10/17] ASoC: codecs: wm9713: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:40:20 +0000 X-ClientProxiedBy: TYCP286CA0002.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:26c::6) 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_|OSCPR01MB12968:EE_ X-MS-Office365-Filtering-Correlation-Id: dc98da58-6ba5-48cf-3699-08dd1824bbcd 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: pajtoX3syad289M0JHqi0zDRdEdSuSCWrum5awR+oxX6+iaCQi+/T32+aljrYXmaZZIQwiwyh8p9w01W+97QXmUF4Hzag7nIOXOxZO0fZGqH/ETABqAUIZx8cBStqfvb3nxi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G/PyOxLdOtNJmppbFZf85AcpMrnv+/Xj4neu4BjoD5bsflmpfTyDfsFFKHjsApZ0zu+OYCwDOaweXR5ivReUfe44lzajJnuuWXMVbYPQv4TmtfQzw3fk7D0R/Hbq0PKrW8wrP7jpZK8vKGsZdqk+/+OszRT5t9M4vHs33xN/SyJKgti3G1shQyzARyzTYNfBBbyFQXkYXWeqg3uEsPqmcTXMerLXc9VvAuyzKlueFIMF4wS5DtwlI5og+ChkIdQhBVtB 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: GqEdtbIvv/AoEfRkX5tbnic9oAISaH4bnsZ9cjkhfTPKqpRJ9up61+h12hU9lrMmRvSd/A4Cfgz5IR20LoDWuhzBz9Id1Wd0fJR/+jU/f84ZicxN1IVj3rQGuADJT+kRyePqHlsCwKEzUWhHtIgkpoAkPuHB85tD8x7h0PCJlOcBLIIhSP9HfzqM/GMDMAtixm1wWXwxSsOlvX2P7cg5fonPB7KR/8bM9evk5wAA5EzMRxZ4ohp/PnjYeuDjtMhnNX6JUppGuxdlwaWRnJFnyh4VwL5kj9sU8x/r81XdpU0O/t5D46gX97KiIcIAjALZRoKzSExvUU6jps0G+gIYWVC3NLUpIn/1c+OwvzFi9/KKqYW9eHLUF7CcmS2phvVPk0/UBvqDeHSWb6dQ7Ds5EU3JtLeamZCfpIK6A9LZFpWu0QuhU+hfHf6xpXGwLgZ1r7DfTXyk7tqS5a4IOuz0rlbFr1kw/6enos8n89nKXspAwgjUyNFLaS5UHxco1RdFZNEcztTWw2iWyVQNHNTFWBAO/8ERmiGudjFV6gmAtS0XpleX0agu2sYMDgIB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atorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc98da58-6ba5-48cf-3699-08dd1824bbcd 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:40:20.6351 (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: jFNaio5PTK9CZGgnbDOXmWFl0XXIcmmL7QfcRAqv9NKsa69a3cJ+egUxc3m94jlNjfhetnqgHVRJNTKoGK36XYYOhqojH31kBP7FQzGFvXygb1Yx/9qHO7Qz879gr7bh X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index 64b69316e4c70..51bdad7129d56 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c @@ -879,22 +879,6 @@ static int wm9713_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, return wm9713_set_pll(component, pll_id, freq_in, freq_out); } -/* - * Tristate the PCM DAI lines, tristate can be disabled by calling - * wm9713_set_dai_fmt() - */ -static int wm9713_set_dai_tristate(struct snd_soc_dai *codec_dai, - int tristate) -{ - struct snd_soc_component *component = codec_dai->component; - - if (tristate) - snd_soc_component_update_bits(component, AC97_CENTER_LFE_MASTER, - 0x6000, 0x0000); - - return 0; -} - /* * Configure WM9713 clock dividers. * Voice DAC needs 256 FS @@ -1089,7 +1073,6 @@ static const struct snd_soc_dai_ops wm9713_dai_ops_voice = { .set_clkdiv = wm9713_set_dai_clkdiv, .set_pll = wm9713_set_dai_pll, .set_fmt = wm9713_set_dai_fmt, - .set_tristate = wm9713_set_dai_tristate, }; static struct snd_soc_dai_driver wm9713_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/wm9713.c | 17 ----------------- 1 file changed, 17 deletions(-)