ALSA: usb-audio - Avoid Oops after disconnect
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Dec 2009 11:24:22 +0000 (12:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Dec 2009 11:24:22 +0000 (12:24 +0100)
commit78b8d5d2ee280c463908fd75f3bdf246bcb6ac8d
tree6919af56842f47f2a2b553b890320a9952c501b6
parent9980c6209ebc2a02eb3ca51a4fae1e17f645c868
ALSA: usb-audio - Avoid Oops after disconnect

As the release of substreams may be done asynchronously from the
disconnection, close callback needs to check the shutdown flag before
actually accessing the usb interface.

Reference: Novell bnc#505027
http://bugzilla.novell.com/show_bug.cgi?id=565027

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c