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

Skip to content
Commit dadae594 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: phy: qusb: Fix check to enable dpdm regulator



Commit a69fe6c4 ("usb: phy: Fix compilation errors") inverted
check for dpdm regulator enable/disable causing dpdm regulator is
never getting turned ON. This results into dpdm state not being seen
in High-Z state causing USB charger detection failure. Fix this issue
by correcting the check as well rename rm_pulldown as dpdm_enable to
reflect actual functionality.

Also fix check with dpdm regulator related enable/disable APIs with
return value of qusb_phy_enable_power() API.

Change-Id: I351222b1b3c7c47fe44599e4b213af8280d6b551
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 4bb2701f
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