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 linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux