diff options
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index f732f2ccb9b4..e7450931125a 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -2020,7 +2020,6 @@ static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) | |||
2020 | 2020 | ||
2021 | reg = dwc3_readl(dwc->regs, DWC3_DCTL); | 2021 | reg = dwc3_readl(dwc->regs, DWC3_DCTL); |
2022 | reg &= ~DWC3_DCTL_TSTCTRL_MASK; | 2022 | reg &= ~DWC3_DCTL_TSTCTRL_MASK; |
2023 | reg &= ~(DWC3_DCTL_INITU1ENA | DWC3_DCTL_INITU2ENA); | ||
2024 | reg |= (DWC3_DCTL_ACCEPTU1ENA | DWC3_DCTL_ACCEPTU2ENA); | 2023 | reg |= (DWC3_DCTL_ACCEPTU1ENA | DWC3_DCTL_ACCEPTU2ENA); |
2025 | dwc3_writel(dwc->regs, DWC3_DCTL, reg); | 2024 | dwc3_writel(dwc->regs, DWC3_DCTL, reg); |
2026 | dwc->test_mode = false; | 2025 | dwc->test_mode = false; |