android_kernel_samsung_msm8976/sound/soc/davinci
Peter Ujfalusi 8e485734eb ASoC: davinci-mcasp: Correct rx format unit configuration
commit fe0a29e163a5d045c73faab682a8dac71c2f8012 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 14:54:11 -07:00
..
davinci-evm.c
davinci-i2s.c
davinci-i2s.h
davinci-mcasp.c ASoC: davinci-mcasp: Correct rx format unit configuration 2014-10-05 14:54:11 -07:00
davinci-mcasp.h
davinci-pcm.c
davinci-pcm.h
davinci-sffsdr.c
davinci-vcif.c
Kconfig
Makefile