aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8940.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-07 20:17:30 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-07 20:17:30 -0500
commit4633fa48fb41dc6d6f0cd83d7f6b7e262820e7cb (patch)
tree8dd15df476c14b4ab85d5beca775af561c2ea23d /sound/soc/codecs/wm8940.c
parent03431972ac16bbfcbfb831bb37c419f8f71bf16d (diff)
parent19940b3d55c87d8089a8cb0fa8e5a9918a3846bd (diff)
Merge branch 'for-3.2' into for-3.3
Conflicts: sound/soc/codecs/wm8940.c
Diffstat (limited to 'sound/soc/codecs/wm8940.c')
-rw-r--r--sound/soc/codecs/wm8940.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index fec3892b234c..1b5856b4ea7c 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -488,6 +488,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
488 break; 488 break;
489 } 489 }
490 490
491 codec->dapm.bias_level = level;
492
491 return ret; 493 return ret;
492} 494}
493 495
@@ -619,7 +621,7 @@ static int wm8940_set_dai_clkdiv(struct snd_soc_dai *codec_dai,
619 621
620 switch (div_id) { 622 switch (div_id) {
621 case WM8940_BCLKDIV: 623 case WM8940_BCLKDIV:
622 reg = snd_soc_read(codec, WM8940_CLOCK) & 0xFEF3; 624 reg = snd_soc_read(codec, WM8940_CLOCK) & 0xFFE3;
623 ret = snd_soc_write(codec, WM8940_CLOCK, reg | (div << 2)); 625 ret = snd_soc_write(codec, WM8940_CLOCK, reg | (div << 2));
624 break; 626 break;
625 case WM8940_MCLKDIV: 627 case WM8940_MCLKDIV: