Provided by:
linux-doc-2.6.15_2.6.15-23.39_all 
NAME
snd_card_free_in_thread - call snd_card_free in thread
SYNOPSIS
int snd_card_free_in_thread (snd_card_t * card);
ARGUMENTS
card soundcard structure
DESCRIPTION
This function schedules the call of snd_card_free function in a work
queue. When all devices are released (non-busy), the work is woken up
and calls snd_card_free.
When a card can be disconnected at any time by hotplug service, this
function should be used in disconnect (or detach) callback instead of
calling snd_card_free directly.
Returns - zero otherwise a negative error code if the start of thread
failed.