Message ID | 87ed2hmhhq.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011006.outbound.protection.outlook.com [40.107.74.6]) (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 2A8BF21506E for <linux-sound@vger.kernel.org>; Mon, 9 Dec 2024 07:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.6 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730037; cv=fail; b=R4Z/G6zZJotFUGMtWTe7YHhGONqkybAEkppTC69IRZSmL/Qy2M2zPry/jV9+0zYFBtkNUepBvN5CV5cGz2vesz6TooMfdD63xtqvRY6b6m+sIDqF0HRQwrVxixhFcfpA6v64hnR6GuDUlfbA2qR90DdnfQZu3UYqyWYOT6gxOUw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730037; c=relaxed/simple; bh=7mIdQ00Ff4RB1813/SEDp+ktu30BCv8bGBKY361zJHU=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=eqhPuQCNEjwwJq28/S70IzDpTggbW+OBfjGWfReiWTTGzk2az2v9VgyV/EsGLYgr5RGaR8cVQqFd2Z0B5zBrN0L6KUEHDnEd6WPQYphkc8FkfCa9iAbIGll+ATzajYCzpOVFIaVkATEADikdsI02A529QmJBQJcCIoa2YAn5wKE= 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=Kb8M79dE; arc=fail smtp.client-ip=40.107.74.6 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="Kb8M79dE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OyUsycII5dhrlEFovLLWZKg15mVklbxHGDfZgxxx96W3F7ywDlsVHopYweTaTtzA1yQKEomWBkayl9SxHhQxSSIaiIrwUzAxuhei3A6qegukArK03bRk/NilwhUtY6XlqGRferz9KjXNaZlIO83UsowRFw/X71mN8cEw0yv2BK1bGsYn+UjeipjhRhnJTL3rNpqv/2Frvj1eDNfhTvkLf+FmLppP1djjKMk5fwNKLiM/bHgsC40reB7ccj1yTlWYY/3aRMEUvOPvzjK9EyI2zzWxOaGWYxJ5ZaWT5AoDJ10em9AJUvfraH4PwneAOPaQOin4bTSGsFNgSZgsSfJpLA== 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=OG19BNwpZldei+7SIEKPrUrFe7aJkpcfJOxc+MxsPEw=; b=gLwIKVWbHgvfwN4lA5axJ842U4Z6jTC8Q8gOp/FBO1eGtgty+YnDJHR/vN1NgZJcHSxBL+WNnAjB/ryS8jumbJJ8R1w/aeZ2o+EB7CKR4wEnDYEzahEfWR+IqEnREbNdRxTbDkqwscthfgsSjcC/13LkA1Fm1GGpJ+kaTq935diacBtn05+CX1mr28fWIJvtFLsImUhzd3ax+/mMj9nPXiS+9fYQW3o/mEncKemeDC4VwNmBv+2oDd7YGV1GMDYT9yF+DOiBYY0qz0pr6u13glM42YtxzJmDB1dOHPh0wSNDUtn0Pp7AFoFNI2cAC2fD7ruKOX4o2MMcNb9r15xwPw== 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=OG19BNwpZldei+7SIEKPrUrFe7aJkpcfJOxc+MxsPEw=; b=Kb8M79dE4FNfphoo2xbTcfbJgWRc56w1871ye4+G3ZtgDoZf+/nWG4FdS17v25A+ZvjyAmWMbMT4Qj0QBpY+HrBvNr8/zBZV8ZZkOEgSutvrsLcc1qP//guRXSsLGfXFiRZgRC9pys/Y6p2bixYygXeBw8QrDQAJAolt0M40mV4= 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:34 +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:34 +0000 Message-ID: <87ed2hmhhq.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 13/17] ASoC: codecs: adau7118: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:40:33 +0000 X-ClientProxiedBy: TYWPR01CA0030.jpnprd01.prod.outlook.com (2603:1096:400:aa::17) 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: facac300-9679-4c31-8b85-08dd1824c3e4 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: SlDBVvZjad04NmIoeZSzGfv+G8RfdVuWTBA4liOMPDthHtchhLsWXRLtHcT35FksfLT5SxDC5BAaeymeSp0Oz3zA1xkyqqrkasf7LfeCZarb8d8nixgGJhuDSjXk3hioZO+I1eWV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MiSzTj+BgdDPb7gmZPr/bxHM5ytFi0CnWR4xr/awlJ3vdfaL+XRSm5OijnARD1fSbBjBJEOI2kL0oTSl8MAEAfFNwJaQl3ZuHNuCZHAyicEgXXLm1c3ehDgRfiW6N2tw0ka4t+42uRjyD4zVgLLX+Q7kznaNv/ZNXCwfWnmVrcSNl5PuJcM5htIeCnmgLtuJWFTz71w+V4el7b//pjdD0/YdJGw1dGZ/ALMyFwoaf6OHIeyuNT 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: QntjzyDb71akkqgGCxdNXiYgxg8LJO/fVaC70alwRHU0SUEPy59gXoGI56hplg8grYHCIMC49+xJ0uGoAz5Q1q8ztSmdnbdSDjDClcTGE6vpblkdpQIBimdg4g+x8cjGBRu8OhaGp8L/ZihtGcg/K5U6rq+f+R4SuQOmpose8/XNR/tZdx2q2XLOhQhQyQURRwL7hKrYxwxPlMBUt8aO0H4ml6WMvK47+isfIlmav5Tzhtwyh0tCZUwfVWnzvJwC3xbwf0drgIgozrprERtYsIgeULj6pEzqKt632TVA2RoUFB4BWJuDfnP+cURIsVL3HkOHNcF3UtgYG3AQqtrHcVWG5YeOjRlMubeL7fXIhQYoJghfddmooTOUeFu4LUM6N66cD1VvEsnkrVnHgtPnUHJ/569hMFGpol6FZLwGiymwSItjliMriP7gbGuJ/lVfrfiLjZqSg4LozLhPK9cqaPclbRix0SOCDwi/tXbSazJRcNDb3LFGBBhzrLIhmvLLc0AUgsUmelStpTKnl12cutdM7an8QvvbDic//yZR2+R3Sydpm2wsZ5wCBpzCR7CguWwNHC8g903f31hAMIA+ALNAAKr1tpj91bVofutMkUFfrl3opa/tdm25wOIyppQuVVZha8Y05+WtQWR28VqwAVj6umZjA98beUelP+0XLxKvjcTmgmDQU9qnL1Fh/I1sT45CUjkfNknayfRztsES3prtpwm/0bfCYwWQnIdFEL+GIw5KD65e/UyxabAs3GBd1iPrTguewXotlfkxPKzlT/wkNCaIwqceEdh0GYGmumYDkfYbEC/3wZxQqeQ108aX+8JOpYsqaqbuBPmz81OkgBxw039rWiS/Klc9n0XDLU6fwlpJVOW2Et0h7FC4wr+9q2FXk1nwAKqHWswyhMSQ2DWjUoJiBtB5xroLA32fQ0kR9hRTjbjiP68w58E0fytTdDAiOydrboN3W5eoBvLRhUbZYp8u66RwTXJPlPCmt37efmxCcHc4C0+jJxJtFmpOfPqTTo2NDi6gHXU46Npr1BDpUES6bqVyLoC7P3UiGpdVnjoGIGl0j4ckc/mr6qEQ1OFWkHBMyMy5nBVLMwhJNfa/4G4i8njyhmeyoO0baG3fMUJz7Dfl9bEGGXN+J+m4Cc/7V6d8/HFyzCeXreLSQAQzMcEZmbbUi4tuqunppVdEk33C/LUomUaHEDhZRk8BVLno5khwqTBp+sf9mE1GIzhLp3dge3ID2AiipjE9k5EPiCMQ1v2fRmEkyxUixh2yb/rZ02MmiLL1L0x+xd6X0FHsYH1FWjI+WOFBxWe935BA9XlYq8F/VivMcVKOEg/NQGRFONofdAxdK838NM/yfvyufoG7LGc1Bt4fR6GXLj9do/Z8/omH540BgTs8slLFJv7ogAyinXC/63CmaSWXcOXK0QgzA8Po+3FBAOoDU+stQS0c+NZY2bg6oHVNTEOn5AtwJCdj+Lv0ky9juk1U2lvmAQPOaXbAlNAljxuPZEvvUJ9QoezLmqaGjKtPvG0IrD93pb/w51YtcPVGCb7gP2PXE5sGi1mj6cJyW3UkRJTaBankurJ0fl6hZdZONh6+cnmoD1W+MWuOD56Rg/zfNUxxMNzZyO9iYWLhuTOqUDE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: facac300-9679-4c31-8b85-08dd1824c3e4 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:34.1968 (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: zlXx/Jh/YtD8JC8zWDnKPpBpZ4qh/orpMEcwDG2MrrMawlTNS02/TPYclis3X/vmRJ4QRu+j7RTopO3kwGb5WhJM+WUUhe5Qg4SiZLoa38H4Zn2cP0ufRXkK3ifGzw/l X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/adau7118.c b/sound/soc/codecs/adau7118.c index abc4764697a53..df513bc49dd3e 100644 --- a/sound/soc/codecs/adau7118.c +++ b/sound/soc/codecs/adau7118.c @@ -207,24 +207,6 @@ static int adau7118_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) return 0; } -static int adau7118_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct adau7118_data *st = - snd_soc_component_get_drvdata(dai->component); - int ret; - - dev_dbg(st->dev, "Set tristate, %d\n", tristate); - - ret = snd_soc_component_update_bits(dai->component, - ADAU7118_REG_SPT_CTRL1, - ADAU7118_TRISTATE_MASK, - ADAU7118_TRISTATE(tristate)); - if (ret < 0) - return ret; - - return 0; -} - static int adau7118_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width) @@ -418,7 +400,6 @@ static const struct snd_soc_dai_ops adau7118_ops = { .set_channel_map = adau7118_set_channel_map, .set_fmt = adau7118_set_fmt, .set_tdm_slot = adau7118_set_tdm_slot, - .set_tristate = adau7118_set_tristate, }; static struct snd_soc_dai_driver adau7118_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/adau7118.c | 19 ------------------- 1 file changed, 19 deletions(-)