mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "power: smb1398: Fix SOC based SMB enable condition"
This commit is contained in:
commit
8afbd9bbdc
@ -1586,7 +1586,7 @@ static void smb1398_status_change_work(struct work_struct *work)
|
||||
* valid due to the battery discharging later, remove
|
||||
* vote from CUTOFF_SOC_VOTER.
|
||||
*/
|
||||
if (is_cutoff_soc_reached(chip))
|
||||
if (!is_cutoff_soc_reached(chip))
|
||||
vote(chip->div2_cp_disable_votable, CUTOFF_SOC_VOTER, false, 0);
|
||||
|
||||
rc = power_supply_get_property(chip->usb_psy,
|
||||
|
Loading…
x
Reference in New Issue
Block a user