Commit 427dd301 authored by Susan Gao's avatar Susan Gao Committed by Greg Kroah-Hartman

ASoC: Fix a bug in WM8962 DSP_A and DSP_B settings

commit fbc7c62a upstream.
Signed-off-by: default avatarSusan Gao <sgao@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmico.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fe0c608d
......@@ -3059,9 +3059,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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment