summaryrefslogtreecommitdiffstats
path: root/queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch
diff options
context:
space:
mode:
Diffstat (limited to 'queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch')
-rw-r--r--queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch b/queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch
new file mode 100644
index 0000000..a81ebb1
--- /dev/null
+++ b/queue-2.6.32/asoc-wm8940-properly-set-codec-dapm.bias_level.patch
@@ -0,0 +1,29 @@
+From 5927f94700e860ae27ff24e7f3bc9e4f7b9922eb Mon Sep 17 00:00:00 2001
+From: Axel Lin <axel.lin@gmail.com>
+Date: Wed, 26 Oct 2011 09:53:41 +0800
+Subject: ASoC: wm8940: Properly set codec->dapm.bias_level
+
+From: Axel Lin <axel.lin@gmail.com>
+
+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 | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/sound/soc/codecs/wm8940.c
++++ b/sound/soc/codecs/wm8940.c
+@@ -473,6 +473,8 @@ static int wm8940_set_bias_level(struct
+ break;
+ }
+
++ codec->dapm.bias_level = level;
++
+ return ret;
+ }
+