On Thu, 29 May 2014, Huang Rui wrote: > > Seriously, the right way to handle timeouts with usb_sg_wait() is to > > have a timer routine call usb_sg_cancel() when the timeout expires. > > You could add such a timer to tests 5-8 in usbtest. > > > > So you mean I should do it in special class driver, not in core level, > right? Right. In this case, the class driver is usbtest.c. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html