aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-26 09:53:41 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 09:10:34 -0800
commit26227d2906ed5a65f7636ed5cf1c7e42bc4d14e1 (patch)
tree69c51414896baa419c26ff76f2c44d01b11f2ed3
parent126a2f643ee673c6dfdf782fc84ffb400bd3c4c5 (diff)
ASoC: wm8940: Properly set codec->dapm.bias_level
commit 5927f94700e860ae27ff24e7f3bc9e4f7b9922eb upstream. Reported-by: Chris Paulson-Ellis <chris@edesix.com> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/soc/codecs/wm8940.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index 63bc2ae736a..6fa31528c1a 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -472,6 +472,7 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg);
break;
}
+ codec->bias_level = level;
return ret;
}