git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696b607
)
thermal: dove: Fix thermal sensor formula
author
Ezequiel Garcia
<ezequiel.garcia@free-electrons.com>
Fri, 22 Mar 2013 12:23:03 +0000
(09:23 -0300)
committer
Zhang Rui
<rui.zhang@intel.com>
Tue, 26 Mar 2013 14:13:10 +0000
(22:13 +0800)
The currently formula has been taken from the 88AP510 SoC datasheet,
which is not exactly correct. The correct value for the temperature
in Celcius of the sensor present in this SoC is:
Celsius = (322-reg)/1.3625
Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/dove_thermal.c
patch
|
blob
|
history
diff --cc
drivers/thermal/dove_thermal.c
Simple merge