diff options
author | Susan Gao <sgao@opensource.wolfsonmicro.com> | 2011-09-29 06:08:18 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-29 06:13:53 -0400 |
commit | fbc7c62a3ff831aef24894b7982cd1adb2b7e070 (patch) | |
tree | ce75f6e9f3f3dd299568b4a3aa8fa4e4ce9e43f0 /sound/soc/codecs/wm8962.c | |
parent | c29429f3b72fe0b593f674378e99f22d5f8bea1f (diff) |
ASoC: Fix a bug in WM8962 DSP_A and DSP_B settings
Signed-off-by: Susan Gao <sgao@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmico.com>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index bc6bdde3019f..74ebbfa89a30 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
@@ -3223,9 +3223,9 @@ static int wm8962_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) | |||
3223 | int aif0 = 0; | 3223 | int aif0 = 0; |
3224 | 3224 | ||
3225 | switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { | 3225 | switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { |
3226 | case SND_SOC_DAIFMT_DSP_A: | ||
3227 | aif0 |= WM8962_LRCLK_INV; | ||
3228 | case SND_SOC_DAIFMT_DSP_B: | 3226 | case SND_SOC_DAIFMT_DSP_B: |
3227 | aif0 |= WM8962_LRCLK_INV | 3; | ||
3228 | case SND_SOC_DAIFMT_DSP_A: | ||
3229 | aif0 |= 3; | 3229 | aif0 |= 3; |
3230 | 3230 | ||
3231 | switch (fmt & SND_SOC_DAIFMT_INV_MASK) { | 3231 | switch (fmt & SND_SOC_DAIFMT_INV_MASK) { |