Takashi Iwai c461482c80 [ALSA] Unregister device files at disconnection
Orignally proposed by Sam Revitch <sam.revitch@gmail.com>.
Unregister device files at disconnection to avoid the futher accesses.
Also, the dev_unregister callback is removed and replaced with the
combination of disconnect + free.
A new function snd_card_free_when_closed() is introduced, which is
used in USB disconnect callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-09-23 10:36:58 +02:00
..
2006-09-22 17:48:56 -07:00
2006-09-14 07:07:18 +10:00
2006-08-08 17:09:11 +10:00
2006-07-03 15:27:00 -07:00
2006-06-22 21:34:38 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00