projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126a2f6
)
ASoC: wm8940: Properly set codec->dapm.bias_level
author
Axel Lin
<axel.lin@gmail.com>
Wed, 26 Oct 2011 01:53:41 +0000
(09:53 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 26 Nov 2011 17:10:34 +0000
(09:10 -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
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8940.c
b/sound/soc/codecs/wm8940.c
index 63bc2ae736a1d19c8c31d347c2fb42ad051604d0..6fa31528c1a1432e179b73fc760df96fc7f384ea 100644
(file)
--- a/
sound/soc/codecs/wm8940.c
+++ b/
sound/soc/codecs/wm8940.c
@@
-472,6
+472,7
@@
static int wm8940_set_bias_level(struct snd_soc_codec *codec,
ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg);
break;
}
+ codec->bias_level = level;
return ret;
}