On Thu, Nov 24, 2011 at 03:14:52PM +0400, Sergei Shtylyov wrote: > Hello. > > On 24-11-2011 15:02, Felipe Balbi wrote: > > >DWC3 revisions<1.90a have an issue which would cause > >a missing USB3 Reset event. In such cases, it's > >suggested that we follow the steps of a normal > >USB3 Reset on Connection Done Event. > > >Signed-off-by: Felipe Balbi<balbi@xxxxxx> > >--- > > drivers/usb/dwc3/gadget.c | 16 ++++++++++++++++ > > 1 files changed, 16 insertions(+), 0 deletions(-) > > >diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c > >index 0a6deea..bd94334 100644 > >--- a/drivers/usb/dwc3/gadget.c > >+++ b/drivers/usb/dwc3/gadget.c > >@@ -1756,6 +1756,22 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) > > > > switch (speed) { > > case DWC3_DCFG_SUPERSPEED: > >+ /* > >+ * WORKAROUND: DWC3 revisions<1.90a have an isue which > > s/isue/issue/ > > >+ * would cause a missing USB3 Reset event. > >+ * > >+ * In such situations, we should force a USB3 Reset > >+ * event by calling our dwc3_gadget_reset_interrupt() > >+ * routing. > > Routine? fixed both. -- balbi
Attachment:
signature.asc
Description: Digital signature