|
@@ -1425,8 +1425,10 @@ static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on)
|
|
|
if (dwc->revision >= DWC3_REVISION_194A)
|
|
|
reg &= ~DWC3_DCTL_KEEP_CONNECT;
|
|
|
reg |= DWC3_DCTL_RUN_STOP;
|
|
|
+ dwc->pullups_connected = true;
|
|
|
} else {
|
|
|
reg &= ~DWC3_DCTL_RUN_STOP;
|
|
|
+ dwc->pullups_connected = false;
|
|
|
}
|
|
|
|
|
|
dwc3_writel(dwc->regs, DWC3_DCTL, reg);
|