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

Skip to content
Commit 8b223833 authored by Harry Yang's avatar Harry Yang
Browse files

power: smb5-lib: Suspend USBIN once moisture detected



Currently, when moisture is detected, all SW does is simply put to
sink mode to prevent fast erosion on CC pins.

There are other concerns with charging safety on phone with moisture, like
observable charger type mis-detections and possible input current overdraw,
etc.

Address it by suspending USBIN (hence charging will be disabled)
on moisture detection.

Change-Id: Ia6092f75c1a5f511e415454d2737024ab62d6072
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 2ff59c37
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