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

Skip to content
Commit e0b419a7 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: msm_otg: Abort suspend while host mode is activated



ID ground interrupt processing and system suspend can run in parallel.
When Id is grounded, USB is brought out of low power mode(LPM) and state
machine work is run to activate host mode.  While waiting for the VBUS
valid event, device suspend callback is executed from system suspend
context.  The current code put USB in LPM, without activating host mode
completely.  Abort suspend when A_BUS_REQ is asserted which indicate
that host mode is active.

CRs-Fixed: 412841
Change-Id: I4065d7a21087759e8a865543c7ce2b5fe9de37de
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 1b448125
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