Re: [PATCH] usb: core: update wait routine to set a timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]