]> git.sur5r.net Git - u-boot/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)
committerStefano Babic <sbabic@denx.de>
Fri, 10 Jul 2015 07:23:32 +0000 (09:23 +0200)
commit3b7ad216e26567342162722fca7b2e142e694d0f
treef25bec9f2161ea6ab88af09835b5f399411bc909
parent1254ff97abb7606ccd0d7bdcd9f22581c50fe535
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