From: Axel Lin Date: Wed, 26 Oct 2011 01:53:41 +0000 (+0800) Subject: ASoC: wm8940: Properly set codec->dapm.bias_level X-Git-Tag: v2.6.32.47~39 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d85b1ce7fd0ecfdd43e8c3e67eb953900c209939;p=karo-tx-linux.git ASoC: wm8940: Properly set codec->dapm.bias_level commit 5927f94700e860ae27ff24e7f3bc9e4f7b9922eb upstream. Reported-by: Chris Paulson-Ellis Signed-off-by: Axel Lin Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c index 63bc2ae736a1..c9510a52f491 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->dapm.bias_level = level; + return ret; }