]> err.no Git - linux-2.6/commit
[ALSA] race between disconnect and error handling in usbmidi
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Feb 2008 17:34:44 +0000 (18:34 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 22 Feb 2008 22:20:08 +0000 (14:20 -0800)
commitc0792e00bc2dd1202d48b838b1cf59d13dd2c74a
tree538ebec399f27b107b5a80f2235d3982d89f86d8
parent0ee46c9dadcbbd0daa12da30f226391896d90abb
[ALSA] race between disconnect and error handling in usbmidi

The driver resubmits URBs from an error handler and schedules the error
handler from the URBs' completion handlers. To reliably kill the cycle
a flag must be used.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/usb/usbmidi.c