lkml.org 
[lkml]   [1999]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAnother UHCI merge error in 2.3.17
And the fix:--- drivers/usb/uhci.c.orig	Wed Sep  8 13:29:41 1999
+++ drivers/usb/uhci.c Wed Sep 8 13:33:30 1999
@@ -860,21 +860,10 @@
if (ix < START_FRAME_FUDGE || /* too small */
ix > CAN_SCHEDULE_FRAMES) { /* too large */
#ifdef CONFIG_USB_DEBUG_ISOC
- printk (KERN_DEBUG "uhci_init_isoc: bad start_frame value (%d)\n",
- isocdesc->start_frame);
+ printk (KERN_DEBUG "uhci_init_isoc: bad start_frame value (%d,%d)\n",
+ isocdesc->start_frame, cur_frame);
#endif
return -EINVAL;
- }
- }
- else /* start_frame <= cur_frame */ {
- if ((isocdesc->start_frame + UHCI_MAX_SOF_NUMBER + 1
- - cur_frame) > CAN_SCHEDULE_FRAMES) {
-#ifdef CONFIG_USB_DEBUG_ISOC
- printk (KERN_DEBUG "uhci_init_isoc: bad start_frame value (%d)\n",
- isocdesc->start_frame);
-#endif
- return -EINVAL;
- }
}
} /* end START_ABSOLUTE */
}
\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.028 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site