diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-26 09:53:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:36:00 -0800 |
commit | dae187ec04a6f7752b140d789269730791a7388f (patch) | |
tree | d38fa50def71a61d1c48385c47b0f51c24560e3c | |
parent | 0198c89767e26f78e619eef2309be74186b4fdcd (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c index 25580e3ee7c..d4ecb3f2d8d 100644 --- a/sound/soc/codecs/wm8940.c +++ b/sound/soc/codecs/wm8940.c @@ -472,6 +472,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec, break; } + codec->dapm.bias_level = level; + return ret; } |