Files
linux/include/sound
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
..
2011-03-31 11:26:23 -03:00
2009-01-21 15:12:40 +01:00
2011-05-19 14:10:45 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 09:49:30 +02:00
2008-01-31 17:29:13 +01:00
2010-12-01 12:14:47 +01:00
2011-03-31 11:26:23 -03:00
2009-02-05 09:17:50 +01:00
2010-09-07 08:04:38 +02:00
2008-11-17 11:45:39 +00:00
2010-10-18 16:46:27 -07:00
2011-02-14 17:10:11 +01:00
2008-04-29 19:01:56 +02:00
2011-01-27 13:10:36 +01:00
2010-02-12 10:31:06 +00:00
2011-04-11 13:33:50 -07:00
2009-12-18 13:06:47 +00:00
2010-04-30 16:12:44 +01:00
2009-11-05 18:10:25 +01:00