From: Mark Brown Date: Thu, 7 Jan 2010 16:29:20 +0000 (+0000) Subject: ASoC: Fix WM8350 DSP mode B configuration X-Git-Tag: firefly_0821_release~11625^2~353 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=954c8ef2187e4fd5d870ff0d2d909deebf69f90e;p=firefly-linux-kernel-4.4.55.git ASoC: Fix WM8350 DSP mode B configuration commit 5ee518ecbcb5934e284ea51a19a939c891f5f7ea upstream. We need to set the LRCLK inversion bit to select DSP mode. Signed-off-by: Mark Brown Acked-by: Liam Girdwood Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index 593d5b9c9f03..2089fe7d1ba6 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) iface |= 0x3 << 8; break; case SND_SOC_DAIFMT_DSP_B: - iface |= 0x3 << 8; /* lg not sure which mode */ + iface |= 0x3 << 8 | WM8350_AIF_LRCLK_INV; break; default: return -EINVAL;