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

2020-11-18 Thread Wesley Cheng
On 11/18/2020 2:14 AM, Michael Tretter wrote: > Hello, > > On Mon, 28 Sep 2020 17:20:59 -0700, Wesley Cheng wrote: >> In the DWC3 databook, for a device initiated disconnect or bus reset, the >> driver is required to send dependxfer commands for any pending transfers. >> In addition, before

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

2020-11-18 Thread Michael Tretter
Hello, On Mon, 28 Sep 2020 17:20:59 -0700, Wesley Cheng wrote: > In the DWC3 databook, for a device initiated disconnect or bus reset, 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

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

2020-09-28 Thread Wesley Cheng
In the DWC3 databook, for a device initiated disconnect or bus reset, 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