Commit 96acbb85 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: high speed iso maxpacket is 1024 not 1023

Someone sent this around mixed with an EHCI patch which should not
be applied (there's a different patch on the way).  I lost their
name, sorry.  It lets 1024 byte ISO packets be used.
parent 12c2b72b
......@@ -268,7 +268,7 @@ int usb_submit_urb(struct urb *urb, int mem_flags)
/* "high bandwidth" mode, 1-3 packets/uframe? */
if (dev->speed == USB_SPEED_HIGH) {
int mult = 1 + ((max >> 11) & 0x03);
max &= 0x03ff;
max &= 0x07ff;
max *= mult;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment