ENODEV actually never happens in a completion handler
Index: alsa-kernel/usb/usbmidi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbmidi.c,v
retrieving revision 1.21
diff -u -r1.21 usbmidi.c
--- alsa-kernel/usb/usbmidi.c 17 Jul 2003 17:42:25 -0000 1.21
+++ alsa-kernel/usb/usbmidi.c 26 Jan 2004 09:00:57 -0000
@@ -142,8 +142,7 @@
{
if (status == -ENOENT)
return status; /* killed */
- if (status == -ENODEV ||
- status == -EILSEQ ||
+ if (status == -EILSEQ ||
status == -ETIMEDOUT)
return -ENODEV; /* device removed */
snd_printk(KERN_ERR "urb status %d\n", status);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel