summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm9713.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-23 13:37:48 +0100
committerMark Brown <broonie@kernel.org>2014-11-24 19:44:07 +0100
commit0cb6b1419ec864996835991a62788c588693f27d (patch)
treedd654a0ec307fdd7781f7b33c0795546f5bd9c62 /sound/soc/codecs/wm9713.c
parentASoC: wm9713: Use virtual control instead of virtual register (diff)
downloadlinux-0cb6b1419ec864996835991a62788c588693f27d.tar.xz
linux-0cb6b1419ec864996835991a62788c588693f27d.zip
ASoC: wm9713: Cleanup manual bias level transitions
The manual transition to SND_SOC_BIAS_STANDBY at the end of CODEC probe() can also be removed as the core will automatically do this after the CODEC has been probed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm9713.c')
-rw-r--r--sound/soc/codecs/wm9713.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index ac13fc8f5c70..e977b13bacfa 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -1203,8 +1203,6 @@ static int wm9713_soc_probe(struct snd_soc_codec *codec)
if (ret < 0)
goto reset_err;
- wm9713_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
-
/* unmute the adc - move to kcontrol */
reg = ac97_read(codec, AC97_CD) & 0x7fff;
ac97_write(codec, AC97_CD, reg);