mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
sc760x: Relax wakelock
In charger_detect_work_func, Make sure that relax wakelock Change-Id: I089247f8b94c73d76cdf442d79fa2eae7fa63de0 Signed-off-by: xuwt2 <xuwt2@lenovo.com> Reviewed-on: https://gerrit.mot.com/2789606 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wentao Xu <xuwt2@motorola.com> Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
6019745b7a
commit
48c39ff2fc
1 changed files with 0 additions and 5 deletions
|
|
@ -1432,11 +1432,6 @@ static void charger_detect_work_func(struct work_struct *work)
|
|||
goto err;
|
||||
}
|
||||
|
||||
if (state_changed) {
|
||||
sc760x_dump_reg(sc);
|
||||
power_supply_changed(sc->charger_psy);
|
||||
}
|
||||
return;
|
||||
err:
|
||||
//release wakelock
|
||||
if (state_changed)
|
||||
|
|
|
|||
Loading…
Reference in a new issue