Re: [PATCH 1/3 v2] usb: dwc2: Improve gadget state disconnection handling

2017-10-24 Thread Minas Harutyunyan
On 10/24/2017 1:33 AM, John Stultz wrote: > In the earlier commit dad3f793f20f ("usb: dwc2: Make sure we > disconnect the gadget state"), I was trying to fix up the > fact that we somehow weren't disconnecting the gadget state, > so that when the OTG port was plugged in the second time we > would g

[PATCH 1/3 v2] usb: dwc2: Improve gadget state disconnection handling

2017-10-23 Thread John Stultz
In the earlier commit dad3f793f20f ("usb: dwc2: Make sure we disconnect the gadget state"), I was trying to fix up the fact that we somehow weren't disconnecting the gadget state, so that when the OTG port was plugged in the second time we would get warnings about the state tracking being wrong. (