Loading drivers/usb/dwc3/core.c +2 −0 Original line number Diff line number Diff line Loading @@ -335,6 +335,8 @@ int dwc3_event_buffers_setup(struct dwc3 *dwc) evt->buf, (unsigned long long) evt->dma, evt->length); memset(evt->buf, 0, evt->length); evt->lpos = 0; dwc3_writel(dwc->regs, DWC3_GEVNTADRLO(n), Loading drivers/usb/dwc3/gadget.c +10 −0 Original line number Diff line number Diff line Loading @@ -1881,6 +1881,10 @@ static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) dwc->pullups_connected = true; } else { dwc3_gadget_disable_irq(dwc); __dwc3_gadget_ep_disable(dwc->eps[0]); __dwc3_gadget_ep_disable(dwc->eps[1]); reg &= ~DWC3_DCTL_RUN_STOP; if (dwc->has_hibernation && !suspend) Loading Loading @@ -3515,6 +3519,12 @@ static irqreturn_t dwc3_interrupt(int irq, void *_dwc) temp_cnt += dwc->ev_buffs[i]->count; } /* If run/stop is cleared don't process any more events */ if (!dwc->pullups_connected) { dev_warn(dwc->dev, "IRQ received but run/stop is cleared\n"); ret = IRQ_HANDLED; } spin_unlock(&dwc->lock); dwc->irq_start_time[dwc->irq_dbg_index] = start_time; Loading Loading
drivers/usb/dwc3/core.c +2 −0 Original line number Diff line number Diff line Loading @@ -335,6 +335,8 @@ int dwc3_event_buffers_setup(struct dwc3 *dwc) evt->buf, (unsigned long long) evt->dma, evt->length); memset(evt->buf, 0, evt->length); evt->lpos = 0; dwc3_writel(dwc->regs, DWC3_GEVNTADRLO(n), Loading
drivers/usb/dwc3/gadget.c +10 −0 Original line number Diff line number Diff line Loading @@ -1881,6 +1881,10 @@ static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) dwc->pullups_connected = true; } else { dwc3_gadget_disable_irq(dwc); __dwc3_gadget_ep_disable(dwc->eps[0]); __dwc3_gadget_ep_disable(dwc->eps[1]); reg &= ~DWC3_DCTL_RUN_STOP; if (dwc->has_hibernation && !suspend) Loading Loading @@ -3515,6 +3519,12 @@ static irqreturn_t dwc3_interrupt(int irq, void *_dwc) temp_cnt += dwc->ev_buffs[i]->count; } /* If run/stop is cleared don't process any more events */ if (!dwc->pullups_connected) { dev_warn(dwc->dev, "IRQ received but run/stop is cleared\n"); ret = IRQ_HANDLED; } spin_unlock(&dwc->lock); dwc->irq_start_time[dwc->irq_dbg_index] = start_time; Loading