[PATCH 05/17] ASoC: codecs: cs42l73: remove snd_soc_dai_set_tristate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



snd_soc_dai_set_tristate() has never been used before.
Let's remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
---
 sound/soc/codecs/cs42l73.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index 21ba796a5cd93..23d5dc912e279 100644
--- a/sound/soc/codecs/cs42l73.c
+++ b/sound/soc/codecs/cs42l73.c
@@ -1128,15 +1128,6 @@ static int cs42l73_set_bias_level(struct snd_soc_component *component,
 	return 0;
 }
 
-static int cs42l73_set_tristate(struct snd_soc_dai *dai, int tristate)
-{
-	struct snd_soc_component *component = dai->component;
-	int id = dai->id;
-
-	return snd_soc_component_update_bits(component, CS42L73_SPC(id), CS42L73_SP_3ST,
-				   tristate << 7);
-}
-
 static const struct snd_pcm_hw_constraint_list constraints_12_24 = {
 	.count  = ARRAY_SIZE(cs42l73_asrc_rates),
 	.list   = cs42l73_asrc_rates,
@@ -1160,7 +1151,6 @@ static const struct snd_soc_dai_ops cs42l73_ops = {
 	.hw_params = cs42l73_pcm_hw_params,
 	.set_fmt = cs42l73_set_dai_fmt,
 	.set_sysclk = cs42l73_set_sysclk,
-	.set_tristate = cs42l73_set_tristate,
 };
 
 static struct snd_soc_dai_driver cs42l73_dai[] = {
-- 
2.43.0





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux