[PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-25 Thread Bin Liu
While unlink an urb, if the urb has been programmed in the controller, the controller driver might do some hw related actions to tear down the urb. Currently usb_hcd_flush_endpoint() passes each urb from the head of the endpoint's urb_list to the controller driver, which could make the controller

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-13 Thread Alan Stern
On Thu, 13 Jul 2017, Bin Liu wrote: > On Fri, Jul 07, 2017 at 11:56:53AM -0400, Alan Stern wrote: > > On Fri, 7 Jul 2017, Bin Liu wrote: > > > > > While unlink an urb, if the urb has been programmed in the controller, > > > the controller driver might do some hw related actions to tear down the

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-13 Thread Bin Liu
On Fri, Jul 07, 2017 at 11:56:53AM -0400, Alan Stern wrote: > On Fri, 7 Jul 2017, Bin Liu wrote: > > > While unlink an urb, if the urb has been programmed in the controller, > > the controller driver might do some hw related actions to tear down the > > urb. > > > > Currently

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-10 Thread Bin Liu
On Fri, Jul 07, 2017 at 08:19:08PM -0400, Alan Stern wrote: > On Fri, 7 Jul 2017, Bin Liu wrote: > > > On Fri, Jul 07, 2017 at 11:56:53AM -0400, Alan Stern wrote: > > > On Fri, 7 Jul 2017, Bin Liu wrote: > > > > > > > While unlink an urb, if the urb has been programmed in the controller, > > > >

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-07 Thread Alan Stern
On Fri, 7 Jul 2017, Bin Liu wrote: > On Fri, Jul 07, 2017 at 11:56:53AM -0400, Alan Stern wrote: > > On Fri, 7 Jul 2017, Bin Liu wrote: > > > > > While unlink an urb, if the urb has been programmed in the controller, > > > the controller driver might do some hw related actions to tear down the >

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-07 Thread Bin Liu
On Fri, Jul 07, 2017 at 11:56:53AM -0400, Alan Stern wrote: > On Fri, 7 Jul 2017, Bin Liu wrote: > > > While unlink an urb, if the urb has been programmed in the controller, > > the controller driver might do some hw related actions to tear down the > > urb. > > > > Currently

Re: [PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-07 Thread Alan Stern
On Fri, 7 Jul 2017, Bin Liu wrote: > While unlink an urb, if the urb has been programmed in the controller, > the controller driver might do some hw related actions to tear down the > urb. > > Currently usb_hcd_flush_endpoint() passes each urb from the head of the > endpoint's urb_list to the

[PATCH 1/2] usb: core: unlink urbs from the tail of the endpoint's urb_list

2017-07-07 Thread Bin Liu
While unlink an urb, if the urb has been programmed in the controller, the controller driver might do some hw related actions to tear down the urb. Currently usb_hcd_flush_endpoint() passes each urb from the head of the endpoint's urb_list to the controller driver, which could make the controller