From: Gary Zhang Date: Wed, 12 Sep 2012 12:29:01 +0000 (+0800) Subject: ENGR00224112 wm8962: correct lrclk mismatch X-Git-Tag: v3.0.35-fsl~475 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ca412c86a78a329198d54c201dff894e6fd7f19e;p=karo-tx-linux.git ENGR00224112 wm8962: correct lrclk mismatch lrclk trigger settings between ssi and wm8962 are different, which causes L/R channel swap. Signed-off-by: Gary Zhang --- diff --git a/sound/soc/imx/imx-wm8962.c b/sound/soc/imx/imx-wm8962.c index 8da589f2fa69..b13f68f2647b 100644 --- a/sound/soc/imx/imx-wm8962.c +++ b/sound/soc/imx/imx-wm8962.c @@ -111,6 +111,9 @@ static int imx_hifi_hw_params(struct snd_pcm_substream *substream, channels == 1 ? 0xfffffffe : 0xfffffffc, 2, 32); + dai_format = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_IF | + SND_SOC_DAIFMT_CBM_CFM; + /* set cpu DAI configuration */ ret = snd_soc_dai_set_fmt(cpu_dai, dai_format); if (ret < 0)