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

Skip to content
Commit 01ce39f3 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Gerrit - the friendly Code Review server
Browse files

USB: phy-msm-usb: Fix poweroff charging issue



In poweroff charging, when cable is connected, it is required
to charge the device and when cable is disconnected, device should
be poweroff. But on some platforms, when multiple cores are active
there is a chance that suspend handler and disconnect processing
race each other and leads to notifying 2mA as part of suspend
handling after disconnect processing. This results in setting
online property to true evenafter cable disconnect and causes
device not to be powered down in poweroff charging mode. Hence
fix issue by handle this corner case in otg driver.

CRs-Fixed: 740220
Change-Id: I3c6dbcb8a76f9d0c5f75de5c3c602272963aa9db
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent a97b43eb
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