android_kernel_samsung_msm8976/sound
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
..
aoa
arm
atmel
core ALSA: pcm: fix fifo_size frame calculation 2014-10-05 14:54:08 -07:00
drivers
firewire
i2c
isa ALSA: msnd: Avoid duplicated driver name 2013-11-29 11:11:45 -08:00
mips
oss
parisc
pci ALSA: hda - Fix invalid pin powermap without jack detection 2014-10-05 14:54:08 -07:00
pcmcia
ppc
sh
soc ASoC: davinci-mcasp: Correct rx format unit configuration 2014-10-05 14:54:11 -07:00
sparc
spi
synth
usb ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined 2014-07-09 11:14:02 -07:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c