ASoC: davinci-mcasp: Add support for I2S format
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 4 Apr 2014 11:31:45 +0000 (14:31 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:24:24 +0000 (17:24 +0100)
commitffd950f75dd71f13194b5d5c8ec67926a1996102
treeb34d421c814369f6ca5b14bbeec7c2a3ff9bc211
parent83f12503bd1fb18d3fd460871660b34faf671918
ASoC: davinci-mcasp: Add support for I2S format

The FS needs to be inverted in McASP compared to other supported formats.
Use a flag to indicate if the FS needs to be inverted.
At the same time fail when non supported format is asked since the default
case was anyways configuring McASP to a not valid format.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c