linux/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
fcp.c ALSA: firewire - msleep needs delay.h 2011-03-16 07:47:33 +01:00
fcp.h
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
lib.c
lib.h
Makefile
packets-buffer.c
packets-buffer.h
speakers.c ALSA: firewire-speakers: fix hang when unplugging a running device 2011-03-30 08:56:57 +02:00