Commit 5ee518ecbcb5934e284ea51a19a939c891f5f7ea

Authored by Mark Brown
1 parent ecbec24296

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

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

sound/soc/codecs/wm8350.c
... ... @@ -925,7 +925,7 @@
925 925 iface |= 0x3 << 8;
926 926 break;
927 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 929 break;
930 930 default:
931 931 return -EINVAL;