diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-10-16 13:05:59 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-30 11:07:10 +0100 |
commit | a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 (patch) | |
tree | 4dc74b708a07b56d12ed72a34d0a2e0cb8c8b9d4 /include/sound/ad1843.h | |
parent | 888ea7d5ac6815ba16b3b3a20f665a92c7af6724 (diff) | |
download | kernel_goldelico_gta04-a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85.zip kernel_goldelico_gta04-a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85.tar.gz kernel_goldelico_gta04-a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85.tar.bz2 |
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>
Diffstat (limited to 'include/sound/ad1843.h')
0 files changed, 0 insertions, 0 deletions