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

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

usb: phy: qusb: Keep LDOs ON during disconnect if PMI voted for it



PMI software requests PHY driver to turn-ON LDOs before running
charger detection. This is needed to have USB data lines in hi-Z
state. If there is race between USB driver processing disconnect
and next rm_pulldown request, then there is a possibility of
PHY driver turning-off LDOs even if PMI voted for it. This can
cause charger detection to fail. To fix this add a check in PHY
driver to check PMI vote in disconnect handling.

Change-Id: I6e873207aeee60e8e933430fc4e755aef81ab447
CRs-fixed: 1097343
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent 94bd0759
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