android_kernel_google_msm/sound
Phani Kumar Uppalapati 3fb13a4e2c ASoC: msm8974: fall back to have AFE port started at prepare
After upgrading to kernel 3.4, there is 5 second delay
at the closing of PCM playback. The delay is due to missing
EOS from QDSP6 audio session manager causing pcm close function
of PCM platform driver to wait for 5 seconds. The root cause
for missing EOS is that ALSA dynmic PCM shutdown sequence has
changed. Now, trigger stop is called on the back-end DAI-LINK.
Furthermore, back-end trigger stop is called before front-end
trigger stop. Since sink stops rendering data, data at source
will never get consumed. EOS event will not arrive. As trigger
operation has to be atomic, it is very difficult to guarantee
sequence on shutting down various modules in QDSP6. The decision
is to abandon starting and stopping QDSP6 AFE port in trigger
function. This decision is considered acceptable as playback
and capture over SLIMBUS is no longer subject to strict sequence
which Q6 AFE port must be started after CODEC configuration.

Change-Id: Ief351168b08d5cca0a76405834cf3d6aa14a3941
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
2013-03-07 15:21:28 -08:00
..
aoa
arm
atmel
compress_offload
core ASoC: msm: implement drain command in compress platform driver 2013-03-07 15:21:28 -08:00
drivers
firewire
i2c
isa
mips
oss
parisc
pci
pcmcia
ppc
sh
soc ASoC: msm8974: fall back to have AFE port started at prepare 2013-03-07 15:21:28 -08:00
sparc
spi
synth
usb
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c