1
0
Fork 0
alistair23-linux/sound/firewire
Clemens Ladisch f3f7c1837f ALSA: isight: fix locking
Lockdep complains about conflicts between isight->mutex,
ALSA's register_mutex, mm->mmap_sem, and pcm->open_mutex.

This can be fixed by moving the calls to isight_pcm_abort(),
snd_card_disconnect(), and fw_iso_resources_update() out of
isight->mutex.  These functions are designed to be called
asynchronously; the mutex needs to protect only the device
streaming state modified by isight_start/stop_streaming().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-11 14:53:09 +02:00
..
Kconfig ALSA: isight: remove experimental status 2011-05-11 14:53:09 +02:00
Makefile ALSA: add Apple iSight microphone driver 2011-05-11 14:51:05 +02:00
amdtp.c ALSA: firewire-lib, firewire-speakers: handle packet queueing errors 2011-03-15 08:42:30 +01:00
amdtp.h ALSA: firewire-lib, firewire-speakers: handle packet queueing errors 2011-03-15 08:42:30 +01:00
cmp.c ALSA: firewire-lib: allocate DMA buffer separately 2011-03-15 08:42:28 +01:00
cmp.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
fcp.c ALSA: firewire - msleep needs delay.h 2011-03-16 07:47:33 +01:00
fcp.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
isight.c ALSA: isight: fix locking 2011-05-11 14:53:09 +02:00
iso-resources.c ALSA: add Apple iSight microphone driver 2011-05-11 14:51:05 +02:00
iso-resources.h ALSA: firewire-lib: allocate DMA buffer separately 2011-03-15 08:42:28 +01:00
lib.c ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
lib.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
packets-buffer.c ALSA: add Apple iSight microphone driver 2011-05-11 14:51:05 +02:00
packets-buffer.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
speakers.c ALSA: firewire-speakers: fix hang when unplugging a running device 2011-03-30 08:56:57 +02:00