linux-stable/sound/firewire
Clemens Ladisch 4ed31f20bb ALSA: dice: 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>
2013-10-20 22:07:57 +02:00
..
amdtp.c ALSA: dice, firewire-lib: add blocking mode 2013-10-20 22:07:57 +02:00
amdtp.h ALSA: dice, firewire-lib: add blocking mode 2013-10-20 22:07:57 +02:00
cmp.c firewire: move rcode_string() to core 2012-04-17 22:54:55 +02:00
cmp.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
dice.c ALSA: dice: fix hang when unplugging a running device 2013-10-20 22:07:57 +02: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 firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
iso-resources.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
iso-resources.h firewire: octlet AT payloads can be stack-allocated 2011-05-10 22:53:44 +02:00
Kconfig ALSA: add DICE driver 2013-10-17 21:18:32 +02:00
lib.c firewire: move rcode_string() to core 2012-04-17 22:54:55 +02:00
lib.h firewire: move rcode_string() to core 2012-04-17 22:54:55 +02:00
Makefile ALSA: add DICE driver 2013-10-17 21:18:32 +02:00
packets-buffer.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
packets-buffer.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
scs1x.c IEEE 1394 (FireWire) subsystem changes post v3.10: 2013-07-10 11:02:58 -07:00
speakers.c firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00