Skip to content
Commit 4e7413a9 authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

thermal: imx_scu_thermal: prevent boot hang with zero pdata



Should initialization of pdata values have failed for some reason,
we end up in endless loop when getting the CPU temperature value
and can not boot. Check alert value in pdata and only retry reading
temperature if alert value is not zero. Also shorten the temperature
info string.

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 74e8fb03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment