mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
Merge "dwc3-msm-core: Perform runtime resume with dwc3 dev instead of mdwc"
This commit is contained in:
commit
49057e9ddc
|
|
@ -6343,9 +6343,10 @@ static int dwc3_otg_start_host(struct dwc3_msm *mdwc, int on)
|
|||
msm_dwc3_perf_vote_update(mdwc, false);
|
||||
cpu_latency_qos_remove_request(&mdwc->pm_qos_req_dma);
|
||||
|
||||
ret = pm_runtime_resume_and_get(mdwc->dev);
|
||||
ret = pm_runtime_resume_and_get(&mdwc->dwc3->dev);
|
||||
if (ret < 0) {
|
||||
dev_err(mdwc->dev, "%s: pm_runtime_resume_and_get failed\n", __func__);
|
||||
pm_runtime_set_suspended(&mdwc->dwc3->dev);
|
||||
pm_runtime_set_suspended(mdwc->dev);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user