android_kernel_motorola_sm6225/sound/pci/ctxfi
Takashi Iwai 8dca419721 ALSA: ctxfi - Fix deadlock with xfi-timer
The PCM x-fi native update routine can cause deadlocks when the
trigger(START) is called while the stream is running.

This patch fixes the deadlock by just postponing the pcm period update
to the next possible wake-up.  Also it adds the flip of ti->running
flag (just to be sure as now).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-15 14:52:55 +02:00
..
ct20k1reg.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ct20k2reg.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctamixer.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctamixer.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctatc.c ALSA: ctxfi - Replace atc lock to mutex 2009-06-13 10:12:59 +02:00
ctatc.h ALSA: ctxfi - Replace atc lock to mutex 2009-06-13 10:12:59 +02:00
ctdaio.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
ctdaio.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cthardware.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
cthardware.h ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
cthw20k1.c ALSA: ctxfi - Fix wrong model id for UAA 2009-06-08 18:30:37 +02:00
cthw20k1.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cthw20k2.c ALSA: ctxfi - Fix / clean up hw20k2 chip code 2009-06-08 15:31:22 +02:00
cthw20k2.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctimap.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctimap.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctmixer.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctmixer.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctpcm.c ALSA: ctxfi - Clear PCM resources at hw_params and hw_free 2009-06-09 08:19:02 +02:00
ctpcm.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctresource.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctresource.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctsrc.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctsrc.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cttimer.c ALSA: ctxfi - Fix deadlock with xfi-timer 2009-06-15 14:52:55 +02:00
cttimer.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ctvmem.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctvmem.h ALSA: ctxfi - Support SG-buffers 2009-06-02 15:54:47 +02:00
Makefile ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
xfi.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00