Added temp saturation at 60 degrees. android-2.6.35
authorTor Berg <torbrg@gmail.com>
Tue, 9 Apr 2013 21:21:23 +0000 (23:21 +0200)
committerTor Berg <torbrg@gmail.com>
Tue, 9 Apr 2013 21:21:23 +0000 (23:21 +0200)
commit06de439f0d9919580ef1dab113454c0b0d19f11d
tree962919b948b8ed8012450ff0364dd86389f73c38
parent76135b85e5ecaf963e342a5b17a9a21025090ae2
Added temp saturation at 60 degrees.

When reading temp just after turning off battery charging the value read is wrong, and the calculated temp is 70 degrees. This sets of an alarm that reboots the phone. Saturating at 60 degrees solves this.
drivers/power/ds2746_battery.c