]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: usb-audio - Avoid Oops after disconnect
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Dec 2009 11:24:22 +0000 (12:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:55:31 +0000 (15:55 -0700)
commitef90f00fb08ab96a273cb6c078bf1c6e75856375
tree6ea6b94b45c9628f70cb56384bac98fc22393a1e
parent53fc82f62490a22d0bc547ab3191710ea10d9482
ALSA: usb-audio - Avoid Oops after disconnect

commit 78b8d5d2ee280c463908fd75f3bdf246bcb6ac8d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/usbaudio.c