commit | 7e9226cc00c37f2000922fe073bcc2d2789d45ea | [log] [tgz] |
---|---|---|
author | Vijay Kumar Pendoti <vpendo@codeaurora.org> | Wed Sep 21 20:49:21 2016 +0530 |
committer | Vijay Kumar Pendoti <vpendo@codeaurora.org> | Wed Sep 21 20:58:21 2016 +0530 |
tree | 80a2edc9f0e8f4a7778c4e537cd0d540f6d42680 | |
parent | 3cec3f976c68d15c501c03bb69d6751edec9c55c [diff] |
target: msm8953: Improve shutdown detect function In bear targets if KEYPAD_PWR key pressed for very short time before PS_HOLD goes high, means if KEYPAD_PWR released before MSM resets, it will come as PON1 trigger in Pmic, LK boots up to kernel and sends pause for battery charging in kernel which is wrong, so added battery connected check in LK and decision taken accordingly. Change-Id: I8e7b2e53d0a28cc581cba4ee28aa23518c582b48