linux/sound/drivers
Takashi Iwai 96c7d478ef ALSA: pcsp - Fix locking messes in snd-pcsp
snd-pcsp driver takes chip->substream_lock together with PCM substream
lock.  These are even mixed up with hrtimer's lock, resulting in messy
lock depencies.  Right now, snd-pcsp driver resolves the deadlock by
using HRTIMER_CB_SOFTIRQ.  However, this isn't nice for a really fast
path like bit-flipping.

This patch introduces a tasklet for PCM period handling so that the
hrtimer callback can be handled fast.  This also reduce the use of
chip->substream_lock to avoid deadlocks.  It's still used in pointer
callback, but even this could be removed with a proper barrier.

Another good solution is to introduce async trigger callback.  But,
this will involve with a major rewrite of the PCM core code, so I
take first this easy fix.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-20 14:47:15 +02:00
..
mpu401 [ALSA] Add MPU401_INFO_NO_ACK bitflag 2008-04-29 19:01:56 +02:00
opl3 ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
opl4 ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
pcsp ALSA: pcsp - Fix locking messes in snd-pcsp 2008-10-20 14:47:15 +02:00
vx ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
dummy.c ALSA: dummy driver - do not use assignment in if condition 2008-08-15 12:59:02 +02:00
Kconfig [ALSA] Fix AC97 kconfig items 2008-05-27 15:56:20 +02:00
Makefile [ALSA] Add PC-speaker sound driver 2008-04-24 12:00:20 +02:00
ml403-ac97cr.c [ALSA] sound: fix platform driver hotplug/coldplug 2008-04-24 12:00:35 +02:00
mtpav.c ALSA: mtpav - Fix race in probe 2008-10-10 13:41:58 +02:00
mts64.c [ALSA] sound: fix mts64 section mismatches 2008-01-31 17:30:00 +01:00
pcm-indirect2.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
pcm-indirect2.h [ALSA] Xilinx ML403 AC97 Controller Reference device driver 2008-01-31 17:29:15 +01:00
portman2x4.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
serial-u16550.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
virmidi.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00