diff mbox

[32/32] ASoC: wm9713: Cleanup manual bias level transitions

Message ID 1416746269-4935-32-git-send-email-lars@metafoo.de (mailing list archive)
State Accepted
Commit 0cb6b1419ec864996835991a62788c588693f27d
Headers show

Commit Message

Lars-Peter Clausen Nov. 23, 2014, 12:37 p.m. UTC
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>
---
 sound/soc/codecs/wm9713.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown Nov. 24, 2014, 6:44 p.m. UTC | #1
On Sun, Nov 23, 2014 at 01:37:48PM +0100, Lars-Peter Clausen wrote:
> 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.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 6c95d98b..5df7f6d 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -1236,8 +1236,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);