battery:Do not run temp chgpath in detach case
authora17671 <a17671@motorola.com>
Wed, 5 Dec 2018 09:29:32 +0000 (17:29 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:27 +0000 (17:30 +0800)
commitfd32abb5fb73c32d611c4c3b45153b9444df814d
tree296173c0975b6ba87b066d2e353246bfa83abcf7
parent7de4a9a369d3943f49c7659a4adc4a3e87fb2dbc
battery:Do not run temp chgpath in detach case

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
drivers/power/supply/s2mu00x_battery.c