summaryrefslogtreecommitdiff
path: root/board/Marvell
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-05-03 22:19:49 +0800
committerStefano Babic <sbabic@denx.de>2020-05-10 20:55:20 +0200
commitb5447b98f24784459225ea0cc2729b1cdb1e3136 (patch)
tree85016cfc8189ebfcbc69dcfa39d749fc56253276 /board/Marvell
parent84897408c688e3d3962e8cd7e92f3ad99c17005d (diff)
thermal: imx_tmu: Fix for temperature out of range
When the temperature is out of sensor's range, the Valid bit won't be set in TRITSR register. So the polling loop won't go out. Change the codes to retry 10 times with 100ms interval for the Valid bit. If the timeout, we give a warning for the invalid data. Modifed from Ye's NXP patch Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/Marvell')
0 files changed, 0 insertions, 0 deletions