]> code.ossystems Code Review - bsp/u-boot.git/commit
thermal:imx_thermal: enter busywait cooling loop when over max CPU temp
authorTim Harvey <tharvey@gateworks.com>
Tue, 9 Jun 2015 13:40:22 +0000 (06:40 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 15 Jul 2015 00:42:57 +0000 (21:42 -0300)
commit4d4c88c89e16fc49638dd74b8175e89b73719a8d
treefab9521ee3f72d33b909e0080acfa7f989744491
parentc23cd6011627ef6571698d9b636159667fbe821f
thermal:imx_thermal: enter busywait cooling loop when over max CPU temp

Remove the check for temperature being within the min/max range and enter the
busywait cooling loop whenever the CPU temperature is over the critical temp.
This fixes the issue where if a board was booted at a temp greater than
the CPU temperature max, it would skip the loop and never indicate or try
to address the overtemp issue.

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