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 ASoC: tlv320aic3x: Convert mic bias to a supply widget 2013-02-04 18:35:19 +00:00
davinci-i2s.c ASoC: switch over to use snd_soc_register_component() on davinci i2s 2013-03-26 21:55:21 +00:00
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 ASoC: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes 2013-04-23 14:50:30 +01:00
davinci-pcm.c ASoC: davinci-pcm, davinci-mcasp: Clean up active_serializers 2013-04-23 14:50:21 +01:00
davinci-pcm.h ASoC: davinci-pcm, davinci-mcasp: Clean up active_serializers 2013-04-23 14:50:21 +01:00
davinci-sffsdr.c ASoC: davinci: davinci-pcm does not need to be a plaform_driver 2012-08-27 11:12:08 -07:00
davinci-vcif.c ASoC: switch over to use snd_soc_register_component() on davinci vcif 2013-03-26 21:55:22 +00:00
Kconfig
Makefile