After received the detach notification
Temp chgpath was ran, that set the is_charGing flag
To the wrong value, remove this to unblock the
Otg control path
Change-Id: I1de599bd7adb4aa55c105c9dacdffa192753d556
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1278907
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
battery->stepchg_state = STEP_NONE;
battery->charging_limit_modes = CHARGING_LIMIT_OFF;
set_max_allowed_current_ma(battery,battery->stepchg_current_ma);
- smbchg_set_temp_chgpath(battery,battery->temp_state);
} else {
smbchg_stay_awake(battery);
cancel_delayed_work(&battery->heartbeat_work);