]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:39 +0000 (00:47 +0200)
commitf997a0d2d31627d618348a21fa69c54e67dcd4f6
tree5a6ffec0c7a02fc1e82432fc8dcabfbe68ba9161
parent846702fd753002f29c93e5ef7301e58d343ae9e5
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