diff options
author | Tim Harvey <tharvey@gateworks.com> | 2015-07-08 15:49:43 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-07-10 10:15:19 +0200 |
commit | 425640256a7c5e9259f7583ee4eca1f3b70f8032 (patch) | |
tree | fcc36bcffc86bf641e9adc2c700eecbec42e2c4b /doc/README.mpc85xx-sd-spi-boot | |
parent | 699279cac0ed0816433e0922aba26fe6dd0a8066 (diff) | |
download | u-boot-imx-425640256a7c5e9259f7583ee4eca1f3b70f8032.zip u-boot-imx-425640256a7c5e9259f7583ee4eca1f3b70f8032.tar.gz u-boot-imx-425640256a7c5e9259f7583ee4eca1f3b70f8032.tar.bz2 |
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>
Diffstat (limited to 'doc/README.mpc85xx-sd-spi-boot')
0 files changed, 0 insertions, 0 deletions