summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs4265.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-09-04 11:52:53 +0400
committerMark Brown <broonie@kernel.org>2014-09-04 15:44:49 +0400
commitfe0a29e163a5d045c73faab682a8dac71c2f8012 (patch)
treef05c31e2c83900d3a7881b8834563e464c23cb43 /sound/soc/codecs/cs4265.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadlinux-fe0a29e163a5d045c73faab682a8dac71c2f8012.tar.xz
ASoC: davinci-mcasp: Correct rx format unit configuration
In case of capture we should not use rotation. The reverse and mask is enough to get the data align correctly from the bus to MCU: Format data from bus after reverse (XRBUF) S16_LE: |LSB|MSB|xxx|xxx| |xxx|xxx|MSB|LSB| S24_3LE: |LSB|DAT|MSB|xxx| |xxx|MSB|DAT|LSB| S24_LE: |LSB|DAT|MSB|xxx| |xxx|MSB|DAT|LSB| S32_LE: |LSB|DAT|DAT|MSB| |MSB|DAT|DAT|LSB| With this patch all supported formats will work for playback and capture. Reported-by: Jyri Sarha <jsarha@ti.com> (broken S24_3LE capture) Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/cs4265.c')
0 files changed, 0 insertions, 0 deletions