MLK-18686-2 sc_thermal: Fix interpreting tenths as millicelsius
authorYe Li <ye.li@nxp.com>
Tue, 26 Jun 2018 02:43:14 +0000 (19:43 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:33:59 +0000 (02:33 -0700)
commitcf935f3dd426d63ae39756c4eb24041c5f8b0e9f
tree35ed19ea3bca70b9d61cbbdc31c29fc1d96f4a32
parentdb97bbdb0079b282610e512a7db7ba98ac7d89fb
MLK-18686-2 sc_thermal: Fix interpreting tenths as millicelsius

When calculate the temperature in millicelsius, the tenths are
handled incorrectly.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 72796a2e138bb7b5b4db9f771a3f9b823b66ade5)
(cherry picked from commit 1288dc25fb849c98b01dce0b130d83cf33939c6b)
drivers/thermal/imx_sc_thermal.c