From 2ac6881871827a8211e7eea59a9090ebf112277c Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 26 Oct 2011 09:53:41 +0800 Subject: [PATCH] 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 [PG: in .34 it uses codec->bias_level and not codec->dapm.bias_level] Signed-off-by: Paul Gortmaker --- sound/soc/codecs/wm8940.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5