aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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) {