diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-25 21:53:41 -0400 |
---|---|---|
committer | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | 2011-11-21 12:55:00 -0500 |
commit | 505a114ded937ec56f9ead897591886c422a6e16 (patch) | |
tree | 2c40a91f9ffb4a6ede66a2a1840a06f7b3508167 /sound/soc/codecs | |
parent | 014952a99bc6f807f71c7b98cca262457e67e844 (diff) |
ASoC: wm8940: Properly set codec->dapm.bias_level
BugLink: http://bugs.launchpad.net/bugs/890952
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'sound/soc/codecs')
-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, | |||
472 | break; | 472 | break; |
473 | } | 473 | } |
474 | 474 | ||
475 | codec->dapm.bias_level = level; | ||
476 | |||
475 | return ret; | 477 | return ret; |
476 | } | 478 | } |
477 | 479 | ||