Takashi Iwai a0830dbd4e ALSA: Add a reference counter to card instance
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-10-30 11:07:10 +01:00
..
2012-10-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2012-04-30 23:36:20 +01:00
2012-09-28 14:21:54 +01:00
2012-10-09 07:07:14 +09:00
2012-04-26 17:48:42 +01:00