diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-07 11:29:20 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-08 11:21:56 -0500 |
commit | 5ee518ecbcb5934e284ea51a19a939c891f5f7ea (patch) | |
tree | 4b28082e2f303cdd5c9ed4c518034df63c35e74c /sound/soc | |
parent | ecbec242961ec66e900b5649ded1e40f5d5edc41 (diff) |
ASoC: Fix WM8350 DSP mode B configuration
We need to set the LRCLK inversion bit to select DSP mode.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm8350.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index ebbf11b653a4..718ef912e758 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c | |||
@@ -925,7 +925,7 @@ static int wm8350_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) | |||
925 | iface |= 0x3 << 8; | 925 | iface |= 0x3 << 8; |
926 | break; | 926 | break; |
927 | case SND_SOC_DAIFMT_DSP_B: | 927 | case SND_SOC_DAIFMT_DSP_B: |
928 | iface |= 0x3 << 8; /* lg not sure which mode */ | 928 | iface |= 0x3 << 8 | WM8350_AIF_LRCLK_INV; |
929 | break; | 929 | break; |
930 | default: | 930 | default: |
931 | return -EINVAL; | 931 | return -EINVAL; |