mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Revert "(CR): charging: fixed logic error"
Moved rerun APSD for SDP/OCP/Float to smb5-lib.c CRs-fixed:(CR) This reverts commit b1102eb24c2caa51f8c5138aadb1ac3b2b7225a9. Change-Id: Ieaec244e6036d9a9522290171635082f9339fb88 Reviewed-on: https://gerrit.mot.com/1445262 SME-Granted: SME Approvals Granted Reviewed-by: Huosheng Liao <liaohs@motorola.com> SLTApproved: Slta Waiver Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
0d96780b08
commit
050bd692b6
1 changed files with 1 additions and 3 deletions
|
|
@ -2956,11 +2956,9 @@ static void mmi_heartbeat_work(struct work_struct *work)
|
|||
mmi_info(chip, "APSD = %d, rerun_apsd_count = %d\n",
|
||||
apsd, rerun_apsd_count);
|
||||
}
|
||||
} else if (rerun_apsd_count && !chg_stat.charger_present) {
|
||||
} else if (rerun_apsd_count) {
|
||||
rerun_apsd_count = 0;
|
||||
cancel_delayed_work(&chip->charger_check_work);
|
||||
mmi_info(chip, "reset rerun_apsd_count = %d\n",
|
||||
rerun_apsd_count);
|
||||
}
|
||||
|
||||
mmi_chrg_rate_check(chip);
|
||||
|
|
|
|||
Loading…
Reference in a new issue