Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89e628cc authored by Pratham Pratap's avatar Pratham Pratap
Browse files

usb: dwc3: Resume parent before resuming child device while in host mode



Consider a scenario where a peripheral connected to the host gets
runtime suspended because of no bus activity. When the device tries
to enter suspend/deep sleep from this state and if it fails to suspend
PM framework calls pm_resume of the suspended device. Currently
xhci_plat_resume will call xhci_resume but it will fail since the parent
(dwc3) is not resumed.

Fix this by resuming glue driver and core by performing pm_runtime_resume
on xhci-plat device.

Change-Id: I71349fa88bce65fa9ec9bceb7c42ef79db763a84
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 92efb2ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment