[ALSA] Fix hang-up at disconnection of usb-audio
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Nov 2006 14:41:29 +0000 (15:41 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 28 Nov 2006 12:46:38 +0000 (13:46 +0100)
commitde1b8b93a0ba016b07d13086a15ad692536e6995
tree840f0b486009d1ddd5c38fd57bc49e2f749253a1
parent282e0c87f223afbe8b182197eb06c127a66353ce
[ALSA] Fix hang-up at disconnection of usb-audio

Fix hang-up at disconnection of usb-audio devices while accessing PCM.
Don't handle PCM operations any more after shutdown flag is set.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/oss/pcm_oss.c
sound/core/pcm_native.c
sound/usb/usbaudio.c