linux/sound/firewire/dice
Takashi Sakamoto 12ed719291 ALSA: fireworks/bebob/dice/oxfw: add reference-counting for FireWire unit
Fireworks and Dice drivers try to touch instances of FireWire unit after
sound card object is released, while references to the unit is decremented
in .remove(). When unplugging during streaming, sound card object is
released after .remove(), thus Fireworks and Dice drivers causes GPF or
Null-pointer-dereferencing to application processes because an instance of
FireWire unit was already released.

This commit adds reference-counting for FireWire unit in drivers to allow
them to touch an instance of FireWire unit after .remove(). In most case,
any operations after .remove() may be failed safely.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org> # 3.19+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-02-23 09:10:38 +01:00
..
dice-hwdep.c ALSA: dice: Split hwdep functionality into a file 2014-11-29 20:08:19 +01:00
dice-interface.h ALSA: dice: Move file to its own directory 2014-11-29 20:03:45 +01:00
dice-midi.c ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00
dice-pcm.c ALSA: dice: Add support for capturing PCM samples 2014-12-10 10:45:53 +01:00
dice-proc.c ALSA: dice: Split proc interface into a file 2014-11-29 20:09:47 +01:00
dice-stream.c ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00
dice-transaction.c ALSA: dice: Support for non SYT-Match sampling clock source mode 2014-12-10 10:45:28 +01:00
dice.c ALSA: fireworks/bebob/dice/oxfw: add reference-counting for FireWire unit 2015-02-23 09:10:38 +01:00
dice.h ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00
Makefile ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00