diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-02 09:56:53 +0800 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2011-12-05 11:20:19 +0100 |
commit | 7a3e24dc9105f070386b1e9a69ae9ef1c9882558 (patch) | |
tree | 9bcc917fd3b05322859f0d73179100ca600e380f /sound | |
parent | fe47894ef998b33860868ed736771d2692de4e2e (diff) |
ASoC: wm8940: Properly set codec->dapm.bias_level
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8940.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c index a4abfdfb217b..dc5cb3150857 100644 --- a/sound/soc/codecs/wm8940.c +++ b/sound/soc/codecs/wm8940.c @@ -488,6 +488,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec, break; } + codec->dapm.bias_level = level; + return ret; } |