ALSA: Use standard device refcount for card accounting
authorTakashi Iwai <tiwai@suse.de>
Wed, 29 Jan 2014 11:13:43 +0000 (12:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Feb 2014 07:14:13 +0000 (08:14 +0100)
Drop the own refcount but use the standard device refcounting via
get_device() and put_device().  Introduce a new completion to snd_card
instead of the wait queue for syncing the last release, which is used
in snd_card_free().

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found