Message ID | 87h67dmhhz.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011064.outbound.protection.outlook.com [40.107.74.64]) (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 423A7215041 for <linux-sound@vger.kernel.org>; Mon, 9 Dec 2024 07:40:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730031; cv=fail; b=uIS/6TcM6z7APgWsVP52LRShD53w1+diol7VUnpmBVQo49Ttnkch32oej0I4HdaT7w9MCqTvA6rFrJsMtzCDcAnZF5aIbcNkKm1lUi1sJfajUWG9amUVaCaDaHgN86X/h4Wg5QZ0Kl5LvBB2W2C1+VJidESSci46hNqiM4dL0MY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730031; c=relaxed/simple; bh=5qgSOF7QkbHxHU+fdapx0clie6BKtiEtgDpMNc88PMI=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=sfIm6kQRlKr1RFlDPJDo1uAbo/B4XazzwrDS6ZxhGg+1hiXK+xfVitgSlC6F0EztbN8I/Ipi1ZqFiXwYK/LSPuSGqZ6WuGfz32G7DL+vegSvfr8GuguyDk33VKgBC7/M637mfnQmM3lzeA8nkjI1qdb12gV5FbCtppq/SM1BDKc= 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=Ra5PokTK; arc=fail smtp.client-ip=40.107.74.64 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="Ra5PokTK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bwzf0O9b6S0l7LUT5QAAr/CBpqi4aK629N/Az3jk+1WRtCAebJMxUBGqdYksVeM909+1EFrkaMOUAVDVbMrZ4YGzOnmemQxTiw3qG4NCqOBkd0fpAkZfPZ8UCS9wziN3CjWsMGABL44b4pFVgHzn0E7mnX4z6sV/S2874omG74fhUip7T5hbf8Wk2AXA8Oanz1kQRofH6gb9CMhCGTrAv+tE+57sXPZs6LYMHumjoNznUayysxy03EifNC5D5HC5HwQvh/DTjYbxg1I7+25DPyoA/rZxVN6H30q3F4XGxcK+E5csnU+OiZfBDLBhGVMy6/38tkc8s8ITVIRd7+V7ZA== 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=p/XFh0Y2A36hWZ9jX14GqRDF7kYqK8NYHqpf0KRuU+M=; b=Dx2jBrRbWyM4LUIWCKIvwh1j6Yjl4wxyLkVP963yBYJowsVD3wz3D0IRbZtDbtOOQ8HlIc2CRqwB0rE9fIkgiDED0CGTrFDy/UKqBPG7X74+hvsz/8qRLQKaFeiNXE/Ig10edGbLNpTcIvVFCJtEp4oVtHxcRX3OnKnw0kpCy5ftZJ5nof5bmqcB813DAuMi+EVnfJ0QIuFR8AwO9qhoQ/cqPAwokQTvqJRM/wpvqc2I2mrX43KCiJeFS1qzyMYmpR71aU6Fcxgf9dVWEMjLmPMOdupKgY6qGDVqUYG+E3SSl9eNn1EkG6UOWu/50leJPddjyLwZ5PgmV3dp3Nu4aA== 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=p/XFh0Y2A36hWZ9jX14GqRDF7kYqK8NYHqpf0KRuU+M=; b=Ra5PokTKg5qLPIzT9q7jwogRyS07pORJ85ryU5JQC3mqMPncwXeWCt2Q4j7FKurpXHt2ZT8RrSekmldACGooWctj54FDavt7EM5nCLJgzg9E/NJmqQTebXbOBQ9UPwZHFPRGZSJSEz8MzrF6AHJfJpKe5fqeT/fVKu0I9nambek= 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:25 +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:25 +0000 Message-ID: <87h67dmhhz.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 11/17] ASoC: codecs: adau1372: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:40:24 +0000 X-ClientProxiedBy: TY2PR02CA0032.apcprd02.prod.outlook.com (2603:1096:404:a6::20) 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: 781745ef-bf05-4803-dd3c-08dd1824be6a 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: 5QIar+Xhcu6Xkx9zZPxdOG5qbe8L2RWaGz07eY9pxqnhVQmsv1bgy6vrhodOHfwyN2UoC5NES/d6OrHmOtTnuYjWXYSv+5Mm6L3xROYTH2Ip/+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WeMtcuDO7Oa4L9Ues21jfG6450DHf5LM3YXhWpv8s9Y9MRsjppQ9oq9QSd9qlDzUgHfRRnv8ZEoPwAX0VZBXVgkXgqtvz7wdZE4UzqBRFsmIkf3xKMZwuAwoC/Eg9tLqjw8XctHLd4uTTo/kNt1S9mH7RAL60BaHYmXbQbZHQA0yemLuu6XcSxrYr9xncz9hGH6ouPVBsfzTK9nAFtY7eL8jexqjnc3JRRKZqttAAZWnSdAO7+7oyqrWc7vSjb3bb+fukYBJ2nphF7MjfH4vgcLC 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: 6FPh87b3sxqnafNx2lrNnb6HZWT2fAU6qS7ZdZwYdDO7oMxZfZiIJzZUiHO962w1XpG+jt2CVwhlG4WOmf+R+7UmCdi2vQt8T5zpkvvTRD+TonvlANIIVHvGBvsFomcodJBTs1e6U+c5FpC80F+sCg+tjeqK+9FIMwg9KRfLdYVvOj5rJ2Aqy6KREtMMZF2Q2iG9WZgg/XQxWF5wHBMX6VGIin1i0foCEZQf6SjTJp8qgaA5t4ESQU5NORt8SXXz8bgWQ+pgd753CdqHOyYDtilk7qMOyRtgXIdufzWBAKtmYsfngY08lJwOmq0vRfqAWmGc9TnKj9Fb1Td9yoqKHyiVv+X6wlIpG28kO2M8ltuVhtGCb7cITdu8CugdP4Jy88JOxbxrSLT5jCiq7AyFNmTar7bVuEFjBG0P9fdWQss+z5dsFa962lW0oAGVPY/sizHGWFuJt5V9JmCo7bCxyrZoa34OF6FmpphNLuKCcRkRcegZ9/4HlWiQudMQjZ7OkbkRJh5Re1Hii4un/ln9v3zS5r+aNFH7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HmYKg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 781745ef-bf05-4803-dd3c-08dd1824be6a 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:25.0252 (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: pHFhtmeFL4s0Ap/UqDRJO3QkUqLKgQag7mXwQobF5bPWY/bbwD59MevwGXPExDrH33166+UxpXkRYB5aDHj/a2vt1PneIh7yHks1+6qPMetsWsEDgpDkg5KFNx02PXPH X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/adau1372.c b/sound/soc/codecs/adau1372.c index fdee689cae538..9db37f12c87ef 100644 --- a/sound/soc/codecs/adau1372.c +++ b/sound/soc/codecs/adau1372.c @@ -739,19 +739,6 @@ static int adau1372_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, return 0; } -static int adau1372_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct adau1372 *adau1372 = snd_soc_dai_get_drvdata(dai); - unsigned int sai1; - - if (tristate) - sai1 = ADAU1372_SAI1_TDM_TS; - else - sai1 = 0; - - return regmap_update_bits(adau1372->regmap, ADAU1372_REG_SAI1, ADAU1372_SAI1_TDM_TS, sai1); -} - static int adau1372_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { struct adau1372 *adau1372 = snd_soc_dai_get_drvdata(dai); @@ -866,7 +853,6 @@ static const struct snd_soc_component_driver adau1372_driver = { static const struct snd_soc_dai_ops adau1372_dai_ops = { .set_fmt = adau1372_set_dai_fmt, .set_tdm_slot = adau1372_set_tdm_slot, - .set_tristate = adau1372_set_tristate, .hw_params = adau1372_hw_params, .startup = adau1372_startup, };
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/adau1372.c | 14 -------------- 1 file changed, 14 deletions(-)