]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] usb-audio: throttle MIDI URB resubmits on USB errors
authorClemens Ladisch <clemens@ladisch.de>
Tue, 2 Aug 2005 13:26:52 +0000 (15:26 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 11:14:13 +0000 (13:14 +0200)
commitc88469704d63787e8d44ca5ea1c1bd0adc29572d
treee898ee29e49ae3cef7440dfeb7f9972126b3fd06
parentd568121ce3151c36cc4718dd4e977f217c6144c2
[ALSA] usb-audio: throttle MIDI URB resubmits on USB errors

USB generic driver
When a USB error occurs that might indicate that the device has been
unplugged, don't resubmit the URB immediately to prevent flooding the
log with error messages before khubd has us disconnect()ed.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/usb/usbmidi.c