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

Commit 4e6b3d37 authored by Harry Yang's avatar Harry Yang
Browse files

qcom: smb138x: supsend USBIN and disable OTG before shutdown



SMB138X does not get reset when device restarts, so USBIN and OTG settings
will not be cleared. Reset them on PMIC shutdown, and restore in probe.

Disable OTG in early driver probe, because device may restart from WDOG
bite with OTG enabled.

CRs-Fixed: 2083638
Change-Id: I451d3e861ea28f89029fe8759599ac0e133baf11
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 0a57938d
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