Files
linux/include
Takashi Iwai 40edba6679 ALSA: Add a reference counter to card instance
commit a0830dbd4e upstream.

For more strict protection for wild disconnections, a refcount is
introduced to the card instance, and let it up/down when an object is
referred via snd_lookup_*() in the open ops.

The free-after-last-close check is also changed to check this refcount
instead of the empty list, too.

Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 13:14:22 -08:00
..
2012-01-25 17:24:57 -08:00
2012-06-10 00:33:04 +09:00
2012-11-17 13:14:21 -08:00
2012-03-12 10:32:59 -07:00