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:Manu Gautam <mgautam@codeaurora.org> Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment