linux/sound/soc/davinci
Peter Ujfalusi 8e3006d02b ASoC: davinci-mcasp: Correct rx format unit configuration
commit fe0a29e163 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>
History 2014-10-05 14:52:17 -07:00
..
davinci-evm.c ASoC: davinci-evm: Add pm callbacks to platform driver 2014-01-31 16:21:24 +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 ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
davinci-mcasp.c ASoC: davinci-mcasp: Correct rx format unit configuration 2014-10-05 14:52:17 -07:00
davinci-mcasp.h ASoC: davinci-mcasp: Simplify FIFO configuration code 2013-12-10 11:22:16 +00:00
davinci-pcm.c ASoC: davinci: Don't set unused struct snd_pcm_hardware fields 2013-12-24 12:01:17 +00:00
davinci-pcm.h ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
davinci-vcif.c ASoC: switch over to use snd_soc_register_component() on davinci vcif 2013-03-26 21:55:22 +00:00
Kconfig ASoC: davinci: kconfig: Prepare for AM43xx support 2013-12-10 11:22:15 +00:00
Makefile ASoC: davinci: Kconfig/Makefile: Generic EVM machine driver related cleanup 2013-12-10 11:22:15 +00:00