summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2016-03-29 13:23:32 +0200
committerEduardo Valentin <edubezval@gmail.com>2016-04-28 00:54:01 +0200
commit5fdfc48bb0da2aa8a912024a6ecca06486eb9141 (patch)
treedfde889af6cfa191cdd388aa7eb7ddc07ed4dc70 /sound
parentMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalent... (diff)
downloadlinux-5fdfc48bb0da2aa8a912024a6ecca06486eb9141.tar.xz
linux-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 <leo.yan@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions