aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2016-03-29 11:23:32 +0000
committerEduardo Valentin <[email protected]>2016-04-27 22:54:01 +0000
commit5fdfc48bb0da2aa8a912024a6ecca06486eb9141 (patch)
treedfde889af6cfa191cdd388aa7eb7ddc07ed4dc70 /fs/jbd2/commit.c
parentMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalent... (diff)
downloadkernel-5fdfc48bb0da2aa8a912024a6ecca06486eb9141.tar.gz
kernel-5fdfc48bb0da2aa8a912024a6ecca06486eb9141.zip
thermal: hisilicon: increase temperature resolution
When calculate temperature, old code firstly do division and then convert to "millicelsius" unit. This will lose resolution and only can read back temperature with "Celsius" unit. So firstly scale step value to "millicelsius" and then do division, so finally we can increase resolution for temperature value. Also refine the calculation from temperature value to step value. Signed-off-by: Leo Yan <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions