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:Zhenhua Huang <zhenhuah@codeaurora.org> Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment