ASoC: davinci: fix sample rotation
authorDaniel Mack <zonque@gmail.com>
Thu, 16 May 2013 13:25:01 +0000 (15:25 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 May 2013 18:21:09 +0000 (13:21 -0500)
commit796718925159523919a589ecbd6d1811c22ef55f
treea7c571cd2379245aa93510c61f1f9e89d8846a95
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75
ASoC: davinci: fix sample rotation

McASP serial audio engine needs different rotation values on TX and RX
channels. Commit dde109fb462 ("ASoC: McASP: Fix data rotation for
playback. Enables 24bit audio playback") changed the calculation to fix
the playback format, but broke the capture stream by doing it for both
TXFMT and RXFMT.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org [3.9 only]
sound/soc/davinci/davinci-mcasp.c