Re: [PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-19 Thread Thinh Nguyen
Wesley Cheng wrote: > On 8/19/2020 2:42 PM, Thinh Nguyen wrote: >> Hi, >> >> Wesley Cheng wrote: >>> In the DWC3 databook, for a device initiated disconnect, the driver is >>> required to send dependxfer commands for any pending transfers. >>> In addition, before the controller can move to the

Re: [PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-19 Thread Wesley Cheng
On 8/19/2020 2:42 PM, Thinh Nguyen wrote: > Hi, > > Wesley Cheng wrote: >> In the DWC3 databook, for a device initiated disconnect, the driver is >> required to send dependxfer commands for any pending transfers. >> In addition, before the controller can move to the halted state, the SW >>

Re: [PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-19 Thread Thinh Nguyen
Hi, Wesley Cheng wrote: > In the DWC3 databook, for a device initiated disconnect, the driver is > required to send dependxfer commands for any pending transfers. > In addition, before the controller can move to the halted state, the SW > needs to acknowledge any pending events. If the

Re: [PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-19 Thread Wesley Cheng
On 8/19/2020 4:37 AM, Felipe Balbi wrote: > > Hi, > > Wesley Cheng writes: >> In the DWC3 databook, for a device initiated disconnect, the driver is >> required to send dependxfer commands for any pending transfers. >> In addition, before the controller can move to the halted state, the SW

Re: [PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-19 Thread Felipe Balbi
Hi, Wesley Cheng writes: > In the DWC3 databook, for a device initiated disconnect, the driver is > required to send dependxfer commands for any pending transfers. > In addition, before the controller can move to the halted state, the SW > needs to acknowledge any pending events. If the

[PATCH] usb: dwc3: Stop active transfers before halting the controller

2020-08-18 Thread Wesley Cheng
In the DWC3 databook, for a device initiated disconnect, the driver is required to send dependxfer commands for any pending transfers. In addition, before the controller can move to the halted state, the SW needs to acknowledge any pending events. If the controller is not halted properly, there