mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Revert "(CR): send charge rate uevent when power supply changes"
As the reverted patch may cause panic for race resource batt_uenvp when it accesses batt_uenvp which was just freed in heartbeat work. Mot-CRs-fixed: (CR) This reverts commit 715a9d18d8fa6b7acfc9540f5e3df2c4332baf28. Change-Id: I07f3bf2cba6f30b345988231d0ee8ea18da27e4f Reviewed-on: https://gerrit.mot.com/1982785 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
75b0a4d487
commit
5aa73a35c9
1 changed files with 0 additions and 6 deletions
|
|
@ -2032,12 +2032,6 @@ static int mmi_psy_notifier_call(struct notifier_block *nb, unsigned long val,
|
|||
msecs_to_jiffies(0));
|
||||
}
|
||||
|
||||
if (chip->batt_psy && chip->batt_uenvp[0]) {
|
||||
kobject_uevent_env(&chip->batt_psy->dev.kobj,
|
||||
KOBJ_CHANGE,
|
||||
chip->batt_uenvp);
|
||||
}
|
||||
|
||||
return NOTIFY_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue