[ALSA] Fix the race of card instance unregistration
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Apr 2008 10:50:47 +0000 (12:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:39 +0000 (12:00 +0200)
commit73d38b13ffb105ab633bd91969c8d218b2de38d4
treee7bada137d13b41e6859c8397cfaa5b6e837f444
parent20861fa7b20a40ca045393df634d4d51e61efa58
[ALSA] Fix the race of card instance unregistration

Move the call of device_unregister() for the card instance in
snd_card_disconnect() to avoid the race of sysfs card entry, which
can be typically found on usb-audio reconnection.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c
This page took 0.039866 seconds and 5 git commands to generate.