kernel_optimize_test/sound/firewire
Clemens Ladisch 6ff674615c ALSA: firewire-speakers: fix hang when unplugging a running device
When aborting a PCM stream, the xrun is signaled only if the stream is
running.  When disconnecting a PCM stream, calling snd_card_disconnect()
too early would change the stream into a non-running state and thus
prevent the xrun from being noticed by user space.

To prevent this, move the snd_card_disconnect() call after the xrun.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-30 08:56:57 +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
iso-resources.c ALSA: firewire-lib: allocate DMA buffer separately 2011-03-15 08:42:28 +01:00
iso-resources.h ALSA: firewire-lib: allocate DMA buffer separately 2011-03-15 08:42:28 +01:00
Kconfig ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +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
Makefile ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
packets-buffer.c ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01: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