ASoC: fsl-ssi: Support for SND_SOC_DAIFMT_CBM_CFS
authorFabio Falzoi <fabio.falzoi84@gmail.com>
Mon, 4 Aug 2014 15:08:07 +0000 (17:08 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 7 Aug 2014 17:45:38 +0000 (18:45 +0100)
commitcf4f7fc3e7336e2e946880890e60ed36178889ea
tree6b8c72d36e7ae42833c4807a5a21869238cf20ae
parentae34a78c430c37c06404f032fb04e51315204281
ASoC: fsl-ssi: Support for SND_SOC_DAIFMT_CBM_CFS

Add SND_SOC_DAIFMT_CBM_CFS support for Freescale architecture.
Successfully tested on i.MX 6Quad Wandboard and UDOO boards connected to
the pcm1792a codec.
In CBM_CFS mode, when using a sample size of 16 bits, we cannot use
CCSR_SSI_SCR_I2S_MODE_MASTER since we get a frame sync every 16 bits.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Tested-by: Angelo Adamo <adamo.a60@gmail.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c