Message ID | 87msh5mhih.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010001.outbound.protection.outlook.com [52.101.229.1]) (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 BC8AD214A9B for <linux-sound@vger.kernel.org>; Mon, 9 Dec 2024 07:40:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.1 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730010; cv=fail; b=LpqIopS7xk3Wh6Qb5Gt2q1ApaN57xOYZGWh0rW79f01WrH12XKE72lpwXt7XPAUlccBvkEc2pGFtFJtpQFmAaBxWTrjHHZhjmkOZ5rg0LuOfWCzB0vv1KpC8fQbXhvcoFT/pViYkR9agrK8nqhPYMjT8ELBuwK/zV8cCyL3URqU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730010; c=relaxed/simple; bh=oqEk1sIYu6p/9YLZdrD4CTXEomDYLidm41q0in7H+yc=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=CW8gmaXMIASuNWrSCb1UhCBag1JaSUkwftr9qZxH6d/cJ0AEsCGJy/CDFaxx18qvoWSXqRuMerRC5yrDXWQmFGKVfjOo7Lx8amxoO/dJKBOxDWayjYBrsHjqAMn7M0kuHAb+/ao2XaFua5z5rwQuRac0LOsk2WF1CoDOoBt81PE= 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=DcunxJ+P; arc=fail smtp.client-ip=52.101.229.1 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="DcunxJ+P" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Har2o1yByPDjil5Od+rfrxR7yx7Qu70U7yzjPIpbUQd8YslcTqR/EfWPxQylFB/AGtURbxavhuuAQIh0Ush4GIB5h70GqRIY6zCY37k6Mk8dUpyUd8X4/IP/sXDF5g7jp8MjbGoOqADvPgQx5+G+nHxrtCX490t1OxmX3ueRenUWBeC/XMcxPWwNT7e02WKBuBhE9rMdQ6Qduq8FkyX/+leNiwcJvFSUbVn4nNhQIfT72QMJ86GnBerIyowoaa+8G4xXUjNeIqi3eYVx5OoBIb3mIgqtKgHj6k0wG/LuYOrrx5EaiLC880pJZTwnH8NVhpVDz99Ev+Vq1bJVQptqpQ== 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=EbU42JVlTRPWUwBkJS9XMIQh1yWty2iAKklQxpsw0Pg=; b=JhPYfKgHprPhuVzCZZYbQpyeReTGHCdI4qddYpSBsozFTePLK1kKWyDhxfaqbBITji7kXG0Gi72VpHWyvuM7U5GFKWcUU/6Fpq1X56+wVIhcUe1dgg1+As+QK/selZWGAl8TnRWHBdGVX9DK8sJfX3hQOo3FRm5ozHciW6XVJdaniLabVNCWE1bx+pQ+QjFFXuDs/tBaxTq7FY7d42WBvJ6Nhv+m+h+S6VpB43Deodptx1ECusRpYzeAi4+XXCyssgc00cHCFjg3KM/6QwYghrLBxRoAfgg71jcP8VjbEFrs6AUgVyeVm8xNHRSSx10RaUMLa0+fq/8UPkMC9XGKRQ== 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=EbU42JVlTRPWUwBkJS9XMIQh1yWty2iAKklQxpsw0Pg=; b=DcunxJ+PyB/jsEcwYKLjqqeQIRCsgb4okkP3m2OVBVPVAAHHOk/79IYpsl9f/vw8+UbvmINJyoa8zSkiaYNKixDF99DcCUJGzpx4cVocAcWl7Gih2KXbJAUUmnd0Fu6GRbOTz0czn0dOWVZwCL+aBNLoxs7iP60sJT0rsRSF4y0= 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:07 +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:07 +0000 Message-ID: <87msh5mhih.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 07/17] ASoC: codecs: wm8961: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:40:06 +0000 X-ClientProxiedBy: TYAPR01CA0068.jpnprd01.prod.outlook.com (2603:1096:404:2b::32) 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: 29466a55-f954-4fd0-bf94-08dd1824b3a3 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: 0LDP3CwfVg4MfTPl7x6ZFSMmS+adX4jesjMASZL3zykIa8RCkKN7fe7debgkIYJFm0yFtuBURdE7e2t0hb/lF6C0WWAWiV1vpQb7hKxvCu1VbK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ro50xct03YOZF21IkyBi6yOi7OLDXnQu+sTsOz4gYReNvHAOczbYAqvEW9NAQmtNA3xdkuMWqH/p2oydtNg6dTTydr7mv1NvBJoQ8ijeXnr2qA2r4P7FnKL8FqZJ8r5QRvPJuHsR7nehohovNVe6tVSdNmDUi++blmKw/jgjHVZKwb42uYRFnuuejEZmPfA7fF8OgvguG9f/jFgnvt87Vm55GfFqqIdEMAup/BDvYYyhrnlEVK+IhSia1ZoONhsi0qvOs7DmZytWX3Mxf+oarwSeJ 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: GyTYDtIp1QhlVXuOgT2GpZztvh/qkEmb1gkBQ0FTBb+t/H1LB+2e4cgK9NrlkLtUpykZ2iDGHoAacD/8k5vnWxWImCJJAGOOL4Ileao3yu4M1pks416jggLE8SRdYEuMGaNrTYxUDbrocSZgF3xUjhUV1XYnNV9lNRtauDmbAT9VAVfUjZlz2+0ZFMFiFpCAeV/DQcYtds+unx0IUtSKNiWXfjl583apwetbOPW+XaDdRpM0oQ4pf0w0W/dauEOJMFYAV065xmmCB68Bm1Nj6vSs8XzuWR3UA3WbtzkQ0ppvNhFl3vGt+xwGSqxJMpIejiQYo9r3JtMqlGhsKK83WPpQ2Y1p7JQbMQFwWDOxVWacsPq75wc+/BYOC4Eg7BtjdkAA7VZ6CaW3RBK3De3OMR69Msj2y3LgPWKCZ0S0PfDaKHQvOZ6Ua455rNdRr417rvU9OF/FATYv0XlW/RJWahUF/SLKV6ZF6VlkxSzmOriXafU8wz+c/FJ+6nP+XlEyxn5kMA35kFlU0uKR2AYrxNXafcPBUaegFjcQlwZdI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dRIKy6Z8vM+1zrA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29466a55-f954-4fd0-bf94-08dd1824b3a3 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:06.9510 (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: 8VDIVU+Wx6GSCTfy9gTctlTguGUrwpLNRW4GqGoA6/SHBBgfz3W7z/eWvzOfiQiVhi4zhjpS3cOURUWMgkKCTpM2qybxazxtO2PzvtvscezJn4Z8kBDvRJJZNRgMQuRU X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index d1c731e25777b..13078796c4e28 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c @@ -685,19 +685,6 @@ static int wm8961_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) return snd_soc_component_write(component, WM8961_AUDIO_INTERFACE_0, aif); } -static int wm8961_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct snd_soc_component *component = dai->component; - u16 reg = snd_soc_component_read(component, WM8961_ADDITIONAL_CONTROL_2); - - if (tristate) - reg |= WM8961_TRIS; - else - reg &= ~WM8961_TRIS; - - return snd_soc_component_write(component, WM8961_ADDITIONAL_CONTROL_2, reg); -} - static int wm8961_mute(struct snd_soc_dai *dai, int mute, int direction) { struct snd_soc_component *component = dai->component; @@ -807,7 +794,6 @@ static const struct snd_soc_dai_ops wm8961_dai_ops = { .set_sysclk = wm8961_set_sysclk, .set_fmt = wm8961_set_fmt, .mute_stream = wm8961_mute, - .set_tristate = wm8961_set_tristate, .set_clkdiv = wm8961_set_clkdiv, .no_capture_mute = 1, };
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/wm8961.c | 14 -------------- 1 file changed, 14 deletions(-)