commit | 0c6ab9543e9afbcb34b30c2efe883ac5b6952fea | [log] [tgz] |
---|---|---|
author | Praveen Chidambaram <pchidamb@codeaurora.org> | Thu Feb 07 17:47:16 2013 -0700 |
committer | Praveen Chidambaram <pchidamb@codeaurora.org> | Wed Feb 20 10:29:53 2013 -0700 |
tree | bdbbb11f839b98f4b82db2f421fcfe139cc21710 | |
parent | cdefc9cca8191bad5144e39dc0d6eda5ba06ff6c [diff] |
thermal: msm_thermal: Fix for reading incorrect negative temperatures tsens_get_temp() takes in an unsigned long, but the temperatures could be negative as well. The sign could be intrepreted as large positive value when using an unsigned long. Use long variable type instead. CRs-Fixed: 441632 Change-Id: Iea0713c4809818af0e409747d4be4631eb4837e9 Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>