]> git.baikalelectronics.ru Git - kernel.git/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)
commit309d8f11783d7491e69bb668ffa9e1050351916d
tree538ebec399f27b107b5a80f2235d3982d89f86d8
parent51d1b8d3ef4d5b015e3b05be98a4ed3fdc87143f
[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