diff options
Diffstat (limited to 'drivers/usb/dwc2/hcd_queue.c')
-rw-r--r-- | drivers/usb/dwc2/hcd_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c index 7f634fd771c7..b5c7793a2df2 100644 --- a/drivers/usb/dwc2/hcd_queue.c +++ b/drivers/usb/dwc2/hcd_queue.c | |||
@@ -1709,7 +1709,8 @@ void dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) | |||
1709 | 1709 | ||
1710 | dwc2_deschedule_periodic(hsotg, qh); | 1710 | dwc2_deschedule_periodic(hsotg, qh); |
1711 | hsotg->periodic_qh_count--; | 1711 | hsotg->periodic_qh_count--; |
1712 | if (!hsotg->periodic_qh_count) { | 1712 | if (!hsotg->periodic_qh_count && |
1713 | hsotg->core_params->dma_desc_enable <= 0) { | ||
1713 | intr_mask = dwc2_readl(hsotg->regs + GINTMSK); | 1714 | intr_mask = dwc2_readl(hsotg->regs + GINTMSK); |
1714 | intr_mask &= ~GINTSTS_SOF; | 1715 | intr_mask &= ~GINTSTS_SOF; |
1715 | dwc2_writel(intr_mask, hsotg->regs + GINTMSK); | 1716 | dwc2_writel(intr_mask, hsotg->regs + GINTMSK); |