From: Axel Lin Date: Wed, 26 Oct 2011 01:53:41 +0000 (+0800) Subject: ASoC: wm8940: Properly set codec->dapm.bias_level X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5927f94700e860ae27ff24e7f3bc9e4f7b9922eb;p=linux-beck.git ASoC: wm8940: Properly set codec->dapm.bias_level Reported-by: Chris Paulson-Ellis Signed-off-by: Axel Lin Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- 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; }