commit | 4e7413a998ba5666aa4ee0b4f49789f52b1281b1 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Wed May 20 10:21:53 2020 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Fri May 22 13:29:25 2020 +0200 |
tree | eabaca7767d2e6dfc0c36d43f8eb92852b01dd29 | |
parent | 74e8fb03bdafd096bcfaa36268376874dfb5c7d4 [diff] |
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: Anatolij Gustschin <agust@denx.de>