linux/sound/soc/davinci
Peter Ujfalusi fe0a29e163 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
2014-09-04 12:44:49 +01:00
..
davinci-evm.c ASoC: davinci-evm: Replace instances of rtd->codec->card with rtd->card 2014-05-26 16:34:55 +01:00
davinci-i2s.c ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform() 2014-04-22 12:51:22 +01: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-09-04 12:44:49 +01:00
davinci-mcasp.h ASoC: davinci-mcasp: Simplify and clean up the AFIFO configuration code 2014-04-14 17:24:11 +01:00
davinci-pcm.c ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform() 2014-04-22 12:51:22 +01:00
davinci-pcm.h ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform() 2014-04-22 12:51:22 +01:00
davinci-vcif.c ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform() 2014-04-22 12:51:22 +01:00
edma-pcm.c ASoC: edma-pcm: Remove PCM_INFO_BATCH and add PCM_INFO_NO_PERIOD_WAKEUP flag 2014-07-16 22:08:55 +01:00
edma-pcm.h ASoC: edma-pcm: Add empty functions for !CONFIG_SND_EDMA_SOC builds 2014-07-16 22:09:08 +01:00
Kconfig ASoC: davinci: Enable menuconfig entry for McASP 2014-08-04 16:28:30 +01:00
Makefile ASoC: davinci-mcasp: Use dmaengine based platform driver for AM335x/447x 2014-07-16 22:09:13 +01:00