mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
3fb13a4e2c
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> |
||
---|---|---|
.. | ||
aoa | ||
arm | ||
atmel | ||
compress_offload | ||
core | ||
drivers | ||
firewire | ||
i2c | ||
isa | ||
mips | ||
oss | ||
parisc | ||
pci | ||
pcmcia | ||
ppc | ||
sh | ||
soc | ||
sparc | ||
spi | ||
synth | ||
usb | ||
ac97_bus.c | ||
Kconfig | ||
last.c | ||
Makefile | ||
sound_core.c | ||
sound_firmware.c |