commit | d6168d8db850c86201156cde8740ec9792d1c0e0 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Thu Apr 18 16:06:17 2013 -0700 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Wed May 08 15:31:10 2013 -0700 |
tree | c458b85005631d5baead72a5921c281a38ab1924 | |
parent | 0e01af6c212fe9e28bf2603a95c90c68ff0175e9 [diff] |
power: qpnp-bms: fix resume timing Kernel time does not change during suspend. This causes BMS to have issues where SoC upon resume can vary wildly from the SoC on suspend because the kernel's 20 second workqueue does not kick in. Fix this by canceling remaining SoC work upon suspend and rescheduling them depending on how much time has passed upon resume. CRs-Fixed: 480859 Change-Id: I9089873ca221354344a86cdff5014eb0b763d051 Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>