linux/sound/firewire/bebob
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
..
bebob_command.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_focusrite.c Merge branch 'for-linus' into for-next 2014-10-27 14:11:07 +01:00
bebob_hwdep.c ALSA: bebob: Add hwdep interface 2014-05-26 14:31:03 +02:00
bebob_maudio.c ALSA: bebob: Use snd_ctl_enum_info() 2014-10-21 08:26:55 +02:00
bebob_midi.c ALSA: fireworks/bebob: Improve indentation 2014-05-27 17:35:38 +02:00
bebob_pcm.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_proc.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_stream.c ALSA: firewire-lib: remove rx_blocks_for_midi quirk 2015-01-16 22:50:45 +01:00
bebob_terratec.c Merge branch 'for-linus' into for-next 2014-10-27 14:11:07 +01:00
bebob_yamaha.c ALSA: bebob: More constify text arrays 2014-10-21 08:26:10 +02:00
bebob.c ALSA: fireworks/bebob/dice/oxfw: add reference-counting for FireWire unit 2015-02-23 09:10:38 +01:00
bebob.h ALSA: bebob: More constify text arrays 2014-10-21 08:26:10 +02:00
Makefile ALSA: bebob: Add support for M-Audio usual Firewire series 2014-05-26 14:32:03 +02:00