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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Oct 2011 07:17:08 +0000 (09:17 +0200)
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>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8940.c

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