linux/sound
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
..
aoa ALSA: aoa - Remove duplicate assignment of SNDRV_PCM_FMTBIT_S{16,24}_BE bits 2008-08-25 09:57:14 +02:00
arm ALSA: Fix pxa2xx-ac97-lib.c compilation 2008-10-14 11:02:21 +02:00
core ALSA: Print function symbol in the error messages 2008-10-16 16:17:30 +02:00
drivers ALSA: pcsp - Fix locking messes in snd-pcsp 2008-10-20 14:47:15 +02:00
i2c ALSA: revo51: add headphone output 2008-08-25 09:57:17 +02:00
isa ALSA: remove stale files 2008-09-09 09:10:52 +02:00
mips ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
oss ALSA: ASoC: update email address for Liam Girdwood 2008-10-13 02:26:42 +02:00
parisc ALSA: harmony - fix a typo 2008-09-04 10:33:55 +02:00
pci Merge branches 'topic/misc-fixes', 'topic/hda' and 'topic/asoc' into for-linus 2008-10-15 16:18:19 +02:00
pcmcia ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
ppc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
sh ALSA: Fix section for snd-aica platform driver 2008-09-23 08:17:58 +02:00
soc ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users 2008-10-14 07:43:45 +02:00
sparc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
spi sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
synth ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
usb ALSA: us122l: fix missing unlock in usb_stream_hwdep_vm_fault() 2008-10-15 11:41:04 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
Kconfig sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
last.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c ALSA: fix section mismatch in the sound_core 2008-09-09 09:11:53 +02:00
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00