Merge "usb: dwc3: Perform pm_runtime async op for suspend in ep_disable"

This commit is contained in:
qctecmdr 2021-07-19 03:51:11 -07:00 • committed by Gerrit - the friendly Code Review server
commit 0d493e403d

View file

@ -971,7 +971,7 @@ static int dwc3_gadget_ep_disable(struct usb_ep *ep)
dbg_event(dep->number, "DISABLE", ret);
spin_unlock_irqrestore(&dwc->lock, flags);
pm_runtime_mark_last_busy(dwc->sysdev);
pm_runtime_put_sync_autosuspend(dwc->sysdev);
pm_runtime_put_autosuspend(dwc->sysdev);
return ret;
}