Re: [PATCH 2/2] usb: dwc3: gadget: usb: dwc3: run/stop metastability workaround

2016-03-19 Thread Roger Quadros
On 16/03/16 15:14, Felipe Balbi wrote: > Roger Quadros writes: > >> [ text/plain ] >> The existing workaround of forcing DEVSPD to SUPER_SPEED >> for HIGH_SPEED ports is causing another side effect >> which causes erratic interrupts and delayed gadget >> enumeration of upto 2

[PATCH 2/2] usb: dwc3: gadget: usb: dwc3: run/stop metastability workaround

2016-03-18 Thread Roger Quadros
The existing workaround of forcing DEVSPD to SUPER_SPEED for HIGH_SPEED ports is causing another side effect which causes erratic interrupts and delayed gadget enumeration of upto 2 seconds. Work around the run/stop issue by detecting if it happened using debug LTSSM state and issuing soft reset