commit | 410ee0dea63737ef11773418e4bafbdde3a85acb | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Thu Feb 20 16:48:04 2014 -0800 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Feb 24 11:08:03 2014 -0800 |
tree | 2b078346e7eaed09a42403b331b939682f96db21 | |
parent | 9e6c1c37a79463b17f050dd270dc5dd81a045d90 [diff] |
power: qpnp-charger: fix corner case for JEITA When the ADC notifier is called there is a possibility that the measured temperature is exactly equal to the threshold rather than larger or smaller. In this case JEITA rules are not applied. Fix this by fixing the JEITA logic to also include the exact threshold value and thus applying the correct JEITA logic. CRs-Fixed: 620291 Change-Id: Ib9462e7d28f6534c359873487420ec21b3e8aaa1 Signed-off-by: David Keitel <dkeitel@codeaurora.org>