On Mon, 2 May 2016, Mathias Nyman wrote: > The current implemenentation restart the sent pattern for each entry in > the sg list. The receiving end expects a continuous pattern, and test > will fail unless scatterilst entries happen to be aligned with the > pattern
Ah. We didn't spot this earlier because for non-xHCI controllers, the scatterlist entries _must_ be aligned with the maxpacket size and therefore with the pattern. > Fix this by calculating the pattern byte based on total sent size > instead of just the current sg entry. > > Signed-off-by: Mathias Nyman <[email protected]> Acked-by: Alan Stern <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
