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

Commit 1c33e78d authored by Zhenhua Huang's avatar Zhenhua Huang Committed by Abhijeet Dharmapurikar
Browse files

power: smb1351-charger: use source detect for all charger removal



In cases with long USB cable, high system load and high battery voltage,
charger may easily collapse and this may cause UV interrupt fired.
To avoid this scenario, using source detect for all charger removal,
including DCP/HVDCP.

As source detect interrupt is not triggered on falling edge, we need
a flexible solution. Using charger UV interrupt and schedule a work
to check source detect status. As SMB system team suggested, have checked
twice to ensure the status is correct.

CRs-Fixed: 838491
Change-Id: Ia2615517758818eed0cc1ded35113a8587c8213f
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 710f5052
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