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/wm9713.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 64b69316e4c70..51bdad7129d56 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -879,22 +879,6 @@ static int wm9713_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id,
return wm9713_set_pll(component, pll_id, freq_in, freq_out);
}
-/*
- * Tristate the PCM DAI lines, tristate can be disabled by calling
- * wm9713_set_dai_fmt()
- */
-static int wm9713_set_dai_tristate(struct snd_soc_dai *codec_dai,
- int tristate)
-{
- struct snd_soc_component *component = codec_dai->component;
-
- if (tristate)
- snd_soc_component_update_bits(component, AC97_CENTER_LFE_MASTER,
- 0x6000, 0x0000);
-
- return 0;
-}
-
/*
* Configure WM9713 clock dividers.
* Voice DAC needs 256 FS
@@ -1089,7 +1073,6 @@ static const struct snd_soc_dai_ops wm9713_dai_ops_voice = {
.set_clkdiv = wm9713_set_dai_clkdiv,
.set_pll = wm9713_set_dai_pll,
.set_fmt = wm9713_set_dai_fmt,
- .set_tristate = wm9713_set_dai_tristate,
};
static struct snd_soc_dai_driver wm9713_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]