]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: rockchip: fix calculation error for code_to_temp
authorElaine Zhang <zhangqing@rock-chips.com>
Mon, 15 Feb 2016 07:33:29 +0000 (15:33 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 1 Mar 2016 05:04:35 +0000 (21:04 -0800)
commitfc3c20b3f82afab589478e5fde50bb6d5c741946
tree3b5b82e7c735e735c29958948767fb1136dc5796
parent9bf453d94b1ef06007c416eba4d504d737493c9a
thermal: rockchip: fix calculation error for code_to_temp

the calculation use a global table, not their own table.
so adapt the table to the correct one.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c