]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: davinci: fix sample rotation
authorDaniel Mack <zonque@gmail.com>
Thu, 16 May 2013 13:25:01 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:53:35 +0000 (12:53 -0700)
commit4ad79e1a9b1ba785ff66f701ee063cde592b2b0e
tree8d7f5f6bfd2a840cf8ee680a806ad63fd5133f75
parentd38b707924f9bbdd5098ea8022d35acd8c0899ac
ASoC: davinci: fix sample rotation

commit 796718925159523919a589ecbd6d1811c22ef55f upstream.

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>
Signed-off-by: Lingzhu Xiang <lxiang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/davinci/davinci-mcasp.c