ALSA: usb - Fix possible Oops at USB-MIDI disconnection
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Oct 2008 12:50:22 +0000 (14:50 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 10 Oct 2008 11:41:48 +0000 (13:41 +0200)
commit7a17daae8ed71bf3259d905a4fc48a5b424fa935
tree98c6208065121b01b2332a181c3c17acc1cca547
parent669faba27f2f7b04b9228d20e30e7f584f0becd5
ALSA: usb - Fix possible Oops at USB-MIDI disconnection

The endpoints should be released immediately at disconnection
rather than the delayed release.  This could be a reason of Oops
at USB-audio device disconnection being used.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/usb/usbmidi.c