• Takashi Sakamoto's avatar
    ALSA: fireworks/bebob/dice/oxfw: add reference-counting for FireWire unit · 12ed7192
    Takashi Sakamoto authored
    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: 's avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Cc: <stable@vger.kernel.org> # 3.19+
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    12ed7192
Name
Last commit
Last update
..
bebob Loading commit data...
dice Loading commit data...
fireworks Loading commit data...
oxfw Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
amdtp.c Loading commit data...
amdtp.h Loading commit data...
cmp.c Loading commit data...
cmp.h Loading commit data...
fcp.c Loading commit data...
fcp.h Loading commit data...
isight.c Loading commit data...
iso-resources.c Loading commit data...
iso-resources.h Loading commit data...
lib.c Loading commit data...
lib.h Loading commit data...
packets-buffer.c Loading commit data...
packets-buffer.h Loading commit data...
scs1x.c Loading commit data...