linux/sound/firewire/fireworks
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
..
fireworks_command.c ALSA: fireworks: Add command/response functionality into hwdep interface 2014-05-26 14:28:58 +02:00
fireworks_hwdep.c ALSA: fireworks: Use safer way to arrange ring buffer pointer 2014-06-04 14:35:40 +02:00
fireworks_midi.c ALSA: fireworks/bebob: Improve indentation 2014-05-27 17:35:38 +02:00
fireworks_pcm.c ALSA: fireworks/bebob: Use the same type of variables as function parameters 2014-05-27 17:35:22 +02:00
fireworks_proc.c ALSA: fireworks: fix specifiers in format strings for propper output 2014-08-05 09:15:20 +02:00
fireworks_stream.c ALSA: firewire-lib: remove rx_blocks_for_midi quirk 2015-01-16 22:50:45 +01:00
fireworks_transaction.c ALSA: fireworks: fix an endianness bug for transaction length 2015-01-07 16:39:21 +01:00
fireworks.c ALSA: fireworks/bebob/dice/oxfw: add reference-counting for FireWire unit 2015-02-23 09:10:38 +01:00
fireworks.h ALSA: fireworks: Remove a constant over width to which it's applied 2014-06-04 14:36:40 +02:00
Makefile ALSA: fireworks: Add hwdep interface 2014-05-26 14:28:41 +02:00