diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-26 09:53:41 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-27 09:17:08 +0200 |
commit | 5927f94700e860ae27ff24e7f3bc9e4f7b9922eb (patch) | |
tree | 7e319f4d195b05aa488b9e9cbfc4bd2061b49570 /sound | |
parent | 0d8d293898ff0ea395840cdf2ac85fbd53c8d3ea (diff) | |
download | linux-stable-5927f94700e860ae27ff24e7f3bc9e4f7b9922eb.tar.gz linux-stable-5927f94700e860ae27ff24e7f3bc9e4f7b9922eb.tar.bz2 linux-stable-5927f94700e860ae27ff24e7f3bc9e4f7b9922eb.zip |
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; } |