summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-26 09:53:41 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:43:17 -0800
commit7ee913a7aea14df8d8e8b9d464a17b60990c9a46 (patch)
tree5153a3a848366413fbcdea1bea515cc820df0065 /sound
parent12b9a1c1f27e73e4ff6e57f1787eed9d06429f74 (diff)
ASoC: wm8940: Properly set codec->dapm.bias_level
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8940.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index 056daa0010f9..d40da04db379 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -470,6 +470,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
break;
}
+ codec->dapm.bias_level = level;
+
return ret;
}