Revert "FROMLIST: usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop"
This reverts commit 4f5025129f. Current
patchset introduces some merge conflicts when pulling in subsequent changes
to the DWC3 gadget pullup API. There were some conflicts from the initial
submission, which did not remove previously added code.
Fix this patch, so that it matches what is currently on upstream.
Bug: 240122498
Change-Id: I67866210b91d031c3c85ee8e40f1e8e631a4f3b0
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
This commit is contained in:
@@ -2512,11 +2512,6 @@ static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (dwc->pullups_connected == is_on) {
|
||||
pm_runtime_put(dwc->dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Synchronize and disable any further event handling while controller
|
||||
* is being enabled/disabled.
|
||||
|
||||
Reference in New Issue
Block a user