Merge "power: smb1398: Fix SOC based SMB enable condition"

This commit is contained in:
qctecmdr 2020-05-16 19:26:29 -07:00 committed by Gerrit - the friendly Code Review server
commit 8afbd9bbdc

View File

@ -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,