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

Commit 911e6423 authored by Manu Gautam's avatar Manu Gautam Committed by Gerrit - the friendly Code Review server
Browse files

usb: phy-msm: Resume HW early on bus-resume when pm_suspended



During resume host drives resume signalling for at least ~20msec.
At the end of which device should remove DP pullup and move
to HS state by enabling HS terminations.
If due to some reason device continues in FS mode and drives DP
then host could treat that as error and perform reset.
This can happen if PHY lpm-exit gets delayed. One possibility is
with resume in system suspend as driver relies on pm_resume routine
to bring PHY out of low power mode. Avoid this delay by not
deferring lpm_exit for bus-suspend scenario in device mode and
also helps to do lpm_exit only from sm_work and removing same from
pm_resume.

Change-Id: Ie3757af81c73ea0c03d86fa3396be694c579b9f4
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 8b5bb77c
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