diff options
| author | Anatolij Gustschin <[email protected]> | 2020-05-20 10:21:53 +0200 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2020-05-22 13:29:25 +0200 |
| commit | 4e7413a998ba5666aa4ee0b4f49789f52b1281b1 (patch) | |
| tree | eabaca7767d2e6dfc0c36d43f8eb92852b01dd29 /include/linux/linux_string.h | |
| 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 <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
