aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSusan Gao <sgao@opensource.wolfsonmicro.com>2011-09-29 11:08:18 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:36:07 -0800
commit54a8a620cee91954666080a5525d7f43cad0a693 (patch)
tree72bbc93b8f8860c7067b88b72270ffde4ee9dc75 /sound
parent9c0390e9a3d5e768dfb2e007509e59d30fec9bb0 (diff)
downloadkernel_samsung_crespo-54a8a620cee91954666080a5525d7f43cad0a693.zip
kernel_samsung_crespo-54a8a620cee91954666080a5525d7f43cad0a693.tar.gz
kernel_samsung_crespo-54a8a620cee91954666080a5525d7f43cad0a693.tar.bz2
ASoC: Fix a bug in WM8962 DSP_A and DSP_B settings
commit fbc7c62a3ff831aef24894b7982cd1adb2b7e070 upstream. Signed-off-by: Susan Gao <sgao@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmico.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8962.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index b9c0fbe..6bc72a7 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3028,9 +3028,9 @@ static int wm8962_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
int aif0 = 0;
switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
- case SND_SOC_DAIFMT_DSP_A:
- aif0 |= WM8962_LRCLK_INV;
case SND_SOC_DAIFMT_DSP_B:
+ aif0 |= WM8962_LRCLK_INV | 3;
+ case SND_SOC_DAIFMT_DSP_A:
aif0 |= 3;
switch (fmt & SND_SOC_DAIFMT_INV_MASK) {