Title: [8904] trunk/drivers/usb/musb/musb_host.c: set the NAK limitation according to the device type
Revision
8904
Author
cliff
Date
2010-06-11 03:45:36 -0400 (Fri, 11 Jun 2010)

Log Message

set the NAK limitation according to the device type

Modified Paths


Diff

Modified: trunk/drivers/usb/musb/musb_host.c (8903 => 8904)


--- trunk/drivers/usb/musb/musb_host.c	2010-06-10 08:14:38 UTC (rev 8903)
+++ trunk/drivers/usb/musb/musb_host.c	2010-06-11 07:45:36 UTC (rev 8904)
@@ -2007,7 +2007,7 @@
 		interval = min_t(u8, epd->bInterval, 16);
 		break;
 	case USB_ENDPOINT_XFER_CONTROL:
-		interval = 8;
+		interval = (urb->dev->speed == USB_SPEED_HIGH) ? 8 : 5;
 		break;
 	default:
 		/* REVISIT we actually want to use NAK limits, hinting to the
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to