Home
last modified time | relevance | path

Searched hist:"425640256 a7c5e9259f7583ee4eca1f3b70f8032" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/thermal/
H A Dimx_thermal.c425640256a7c5e9259f7583ee4eca1f3b70f8032 Wed Jul 08 22:49:43 UTC 2015 Tim Harvey <tharvey@gateworks.com> thermal: imx_thermal: fix busywait if IMX6 temp <0C

The temperature calculation must be typecasted to keep the compiler
from sign extending a negative value prior to division.

This fixes an issue where if the CPU temperature is <0C it will get stuck
in the busywait loop until the CPU heats up to 0C.

Cc: Ye Li <b37916@freescale.com>
Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>