diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-09-04 10:52:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-04 12:44:49 +0100 |
commit | fe0a29e163a5d045c73faab682a8dac71c2f8012 (patch) | |
tree | f05c31e2c83900d3a7881b8834563e464c23cb43 /fs/sysv/dir.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
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 'fs/sysv/dir.c')
0 files changed, 0 insertions, 0 deletions