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

Skip to content
Commit bafe474f authored by Jack Pham's avatar Jack Pham Committed by Stephen Boyd
Browse files

usb: msm_otg: disallow suspend during charging detection



A cable connection could occur as the device is just about to
enter systemwide suspend. This interrupt will kick off the
charging detection algorithm, but the controller could become
suspended and may lead to ULPI timeouts when the PHY is later
resumed. Note that prior to starting charger detection, the
B-session valid state bit is asserted. We can then fix this in
the general case by preventing the controller from suspending
if B_SESS_VLD is set and the bus is not suspended.

Change-Id: Ie4c8cc2eccad77c8e77e4765c0a8ec3dfd773953
CRs-Fixed: 386262
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent b4f68ce4
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