Message ID | 87o71lmhim.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010016.outbound.protection.outlook.com [52.101.229.16]) (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 44AF1214A9E for <linux-sound@vger.kernel.org>; Mon, 9 Dec 2024 07:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.229.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730005; cv=fail; b=kEEftbJ0IjKX3hfcPkpYArj4XZoq91o8jHxZJGXoyqEp7YcTL96m0PVvxUuLR5udySVjk843HzaMrHXK0fQlWhU/KK8pSoR0Tx9ZpPI1HL7DP5yE4vGAxNU4HgWVbr+2mnn5Ny5SM2Eiox6q+CyyCXFXzFyn8bAc59V9pxVWEi4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733730005; c=relaxed/simple; bh=l28EoavNEEln90CpJ8B58Sv3MxbmTPJAoQKfzCHAt4A=; h=Message-ID:To:From:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=ADRflxNmb+gG1UR5L0bDF8cXQ3jQUmXD03aZiTweJHu+xixOh0G0CusN9GBgwD/0XxPzsyoTOdvYn12yA0Z7ezf35fZ+ozldeT5XHY+zMonswtJzZ13EiG9KIOZ+N3s7jqCWmDpw/sm2sJVwn6M34su+tz6CFKyvGv4XzXQkCNc= 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=Ya0FbA2Z; arc=fail smtp.client-ip=52.101.229.16 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="Ya0FbA2Z" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qpxMsWE6MVubXcngc6xvLgRqx/SwELKF4Re4w9yKeqZ1jLV9JnAjpI8kwbnF4TIP7A7X0EAOW4+DbL8cUltihfN+2xyqoalj8JGyW5x3TvDQ/aIxRM7TFEL6wMor9WvJkodoR+zYSWOJUAURl7OgpGNO01+Ql3mecO1OMuC8OfT4leWqCiOX30LuZIl0lUHICXNkXcz+wmw6Kv1qoGnDCDfXvfx5QQ3VGpy6lRStP7Tme7U/ccwSCuT1bTr9/IsoVJwDg81j1bE7cWpiD+9lCDGTKaHjeM5lri/F5HbGdst1YEMfsFCpRuRJ8GkHblmhslsUZSfFQs4KHXd0MCr7sg== 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=4kUZisYMxL1epoB7wZ5Il8HPMuc0v9OoPBD5Qu9lJFw=; b=bWHzJFkc2WAM3bwcE11z892nV5E4BgZYispXmTuf1yjJQ3Pl8nEylYcyy2RlcOVmCx5qR893GP+7UbzdwQeitxD/oWGnF+7P+p4qaFYeqywNScllfSSRx7Wdq7qvsKTX2CUhWD53sKvzIaTz9O9u1qvY9VPuefNGpbJGPF/F7PWC6KbLXSbY0B/bPkehJ6ZPwqsqB6VJg1BcFguZhZsSCnnon1llOUsUjkCwBhPDFI2cZuVZ5PvyqdwWo/GVP9zqEZUMLMHUbQQz6GyU3ueznubE8exKfVmKw+YXhA38dwY0JGG7ofbzaiAZCikKR50zgQEAvKhBtDwDcZtTWtbWYA== 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=4kUZisYMxL1epoB7wZ5Il8HPMuc0v9OoPBD5Qu9lJFw=; b=Ya0FbA2ZpADoeJRY8urgdFLYuF2oA1bCGt/GxmhIZK39x4IWwFeJ3u3rDDTfnR24QG5ht5vvAmreys/N9ZS5NHj8buvaG2goSxi/36D7FJpOE6dmyVrxXCpeocDyc2OI6F1IOxrxbiusBX+Kkof/+NZactcoX41WRpKLTd2rfME= 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:02 +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:02 +0000 Message-ID: <87o71lmhim.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 06/17] ASoC: codecs: cs53l30: remove snd_soc_dai_set_tristate() Content-Type: text/plain; charset=US-ASCII Date: Mon, 9 Dec 2024 07:40:01 +0000 X-ClientProxiedBy: TYWP286CA0008.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:178::11) 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: d404d66a-902c-4299-8ed2-08dd1824b0be 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: un01rY6QiCvIy3mrUhy5RXY/WU0+qwxEH8gjEtzaJ4EME7dLJWab1yBu6ghpxpRf/U4Sipi1W25HfjTZCKU8rSWTfkrS8imEBwL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fZMwV7KQViZhrF1xFcXtP4b9LhY+ml0qUUHgYNFDy0YcbdJ7b58gRffJdz83CE8EEVX61Bhbcf4WVuMJ1defGk41VqjXvJkKygIVNmKh0uZu41rPNE1A11FZtTnCrvKv8NkXrjsyenykjlrilSO5i/9V2u3VrY6XQ6HpeRtg9tL1DxqvqdbkQ5PlIO4C6BE9FAR4/JCcc9XEf56OLqYeSmkkAz5EZgai4TPwh628A3Rl8xpMd1sYpXgy3h5ybKtiS/OejO0j3zMbaMBCYlzZF+eE3jmBVHvwH 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: rx6gDmxsI5y05sbjjSS0HgYuRS6EM03b8v6cbhoAnDeCUO+l+VESS3FH5p5VchBizlYUjtHHIkS0POAG/mujFCSqNc7n9Ggg8vh94T0UpoDkODByrZOksAnyEckaYY/3e1tMY+ZrdDoHm08/83hYnq5ZJEesthQfMa/3eJNEf7Kb8cEVNOs5ik/uw0vV5+rs9tZTjUqI5PwF0d4xoG8XsSFRDwxefQUfDGEMmzlwn6byFFvzyx1/SQA4SuvuWq5x5VW5gIDR6LNSluZXYdMKTBMXNeEw73wWCnYVkEqR9Lha2ee1M/mNrT+p3aa7D8YMWVRaiQZZ/scFNk077m6+C3rhT+Me+vm0LXQFYSUfr7kb0P1ahYaVTKiP13RxAMixBvaAGyn2SDgSPwuXoXAqO+uOWXTc7YvkN+jHkyOrdVBrQ0UmE9byYi6IiuhgorqaXsPD5nf9RyPvqLb+h0ouE/uM+LryCLD26aCr+BDubSKpNBdYAdSHAHbpCne8NF5UsA1G1/bkx+59sxuZALAjm1jQUbHFplv4vEu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7nNg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d404d66a-902c-4299-8ed2-08dd1824b0be 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:02.0953 (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: sxo3bg4ipDndFzU/IKAxDiMsqB1ZpBh0/P0JId+Gnwk/c+865woKNEfp1xjIv7tuav1DJR/g+n3FAjgShsyOeSGFgXyg4C1MWeOqEwWQn2tET4p4vQJFn/KlLplz+r1Q X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSCPR01MB12968 |
Series |
ASoC: remove snd_soc_dai_set_tristate()
|
expand
|
diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c index 28f4be37dec19..f436862dc5c60 100644 --- a/sound/soc/codecs/cs53l30.c +++ b/sound/soc/codecs/cs53l30.c @@ -730,15 +730,6 @@ static int cs53l30_set_bias_level(struct snd_soc_component *component, return 0; } -static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate) -{ - struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); - u8 val = tristate ? CS53L30_ASP_3ST : 0; - - return regmap_update_bits(priv->regmap, CS53L30_ASP_CTL1, - CS53L30_ASP_3ST_MASK, val); -} - /* * Note: CS53L30 counts the slot number per byte while ASoC counts the slot * number per slot_width. So there is a difference between the slots of ASoC @@ -836,7 +827,6 @@ static const struct snd_soc_dai_ops cs53l30_ops = { .hw_params = cs53l30_pcm_hw_params, .set_fmt = cs53l30_set_dai_fmt, .set_sysclk = cs53l30_set_sysclk, - .set_tristate = cs53l30_set_tristate, .set_tdm_slot = cs53l30_set_dai_tdm_slot, .mute_stream = cs53l30_mute_stream, };
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/cs53l30.c | 10 ---------- 1 file changed, 10 deletions(-)