diff options
author | Fabio Estevam <festevam@denx.de> | 2023-08-23 14:59:08 -0300 |
---|---|---|
committer | Stefano Babic <stefano.babic@swupdate.org> | 2023-09-04 17:26:44 +0200 |
commit | 402b8106eca604d3e1c150fbde88064d5044cb7c (patch) | |
tree | d9e6738dfd2e3bf13b92c6b7b8547d232c0a2008 /drivers/i2c/ast_i2c.c | |
parent | 282ff895c89c4c403be8a2331bcc265ff5224a83 (diff) |
thermal: imx_tmu: Fix the polling default
When the 'polling-delay' property is not passed via devicetree,
pdata->polling_delay keeps at 0. This causes the imx_tmu driver to get
stuck inside the busy while() loop when the CPU temperature is above
the alert point.
Fix this problem by passing a one second polling interval, which provides
a proper delay to let the system to cool down and exit the while() loop
when the temperature is below the alert point.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/i2c/ast_i2c.c')
0 files changed, 0 insertions, 0 deletions