ASoC: davinci-mcasp: Fix S24_LE and U24_LE support
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 26 Jun 2014 05:09:24 +0000 (08:09 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 30 Jun 2014 14:53:25 +0000 (15:53 +0100)
commit182bef863cc37a9a387ae9bc0f1b05243234bd4a
treec6e884c9fbb3964bea0baa901b12ca60b8d933c0
parent7f28f357840fc857348b7ed42d7ee697cd221a59
ASoC: davinci-mcasp: Fix S24_LE and U24_LE support

In case of S24_LE/U24_LE modes we expect 24bits on the bus while the samples
are stored and transferred in memory on 32bits (lower 3 bytes of the 4
bytes).

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