linux/sound/core
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
..
oss [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
seq [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
control_compat.c [ALSA] Cleanup unused argument for snd_power_wait() 2006-03-31 17:58:56 +02:00
control.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
device.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
hwdep_compat.c [ALSA] Remove xxx_t typedefs: Hwdep 2006-01-03 12:17:38 +01:00
hwdep.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
info_oss.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
info.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
init.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
isadma.c [ALSA] Clean up EXPORT_SYMBOL()s in snd module 2006-06-22 21:32:52 +02:00
Kconfig [ALSA] make CONFIG_SND_DYNAMIC_MINORS non-experimental 2006-06-28 19:30:54 +02:00
Makefile [ALSA] Remove kmalloc wrappers 2005-11-04 13:18:08 +01:00
memalloc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
memory.c [ALSA] Clean up EXPORT_SYMBOL()s in snd module 2006-06-22 21:32:52 +02:00
misc.c [ALSA] Clean up EXPORT_SYMBOL()s in snd module 2006-06-22 21:32:52 +02:00
pcm_compat.c [ALSA] Add O_APPEND flag support to PCM 2006-06-22 21:33:13 +02:00
pcm_lib.c [ALSA] Add O_APPEND flag support to PCM 2006-06-22 21:33:13 +02:00
pcm_memory.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
pcm_misc.c [ALSA] Move OSS-specific hw_params helper to snd-pcm-oss module 2006-06-22 21:33:05 +02:00
pcm_native.c [ALSA] Remove bogus check of mmap_count in snd_pcm_release() 2006-06-22 21:34:14 +02:00
pcm_timer.c [ALSA] Remove xxx_t typedefs: PCM 2006-01-03 12:17:43 +01:00
pcm.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
rawmidi_compat.c [ALSA] Remove xxx_t typedefs: Raw MIDI 2006-01-03 12:17:35 +01:00
rawmidi.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
rtctimer.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
sgbuf.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
sound_oss.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
sound.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
timer_compat.c [ALSA] Remove xxx_t typedefs: Timer 2006-01-03 12:17:34 +01:00
timer.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00