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

Skip to content
Commit af602183 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: ehci-msm: Don't call ehci_suspend during system suspend



EHCI platform glue driver can call ehci_suspend to update
wakeup flags of root hub during system suspend. This requires
bringing hardware out of low power state to access its registers.
Since MSM USB OTG driver uses pm_relax APIs in its runtime_pm
hooks, resuming the OTG device during pm_resume would result in
system suspend abort. Additionally MSM USB host is always
wakeup capable, therefore, don't call ehci_suspend to avoid
bringing h/w out of LPM during pm_suspend.

Change-Id: I5578e76d073b3e23dbcff71251f2594122cb4199
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 072185c6
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