diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-26 09:53:41 +0800 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-08-17 15:35:35 -0400 |
commit | 2ac6881871827a8211e7eea59a9090ebf112277c (patch) | |
tree | 3774e20d7eb78a7716c3bf2cbb6ca11ae14cf887 /sound | |
parent | 472f63d1e3530286e1b1773cd50d11add1faa54f (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>
[PG: in .34 it uses codec->bias_level and not codec->dapm.bias_level]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
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 0c04b476487f..0dab4fe3ce9a 100644 --- a/sound/soc/codecs/wm8940.c +++ b/sound/soc/codecs/wm8940.c @@ -473,6 +473,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec, break; } + codec->bias_level = level; + return ret; } |