]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: wm8940: Properly set codec->dapm.bias_level
authorAxel Lin <axel.lin@gmail.com>
Wed, 26 Oct 2011 01:53:41 +0000 (09:53 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:17 +0000 (09:43 -0800)
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>
sound/soc/codecs/wm8940.c

index 056daa0010f99238ce4edc1f34d0a6bfe959f655..d40da04db3791c11a98d4c3693e970ce505d080e 100644 (file)
@@ -470,6 +470,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
                break;
        }
 
+       codec->dapm.bias_level = level;
+
        return ret;
 }