[PATCH v2 2/5] thermal: imx_tmu: Fix the polling default

2023-09-05 Thread sbabic
> From: Fabio Estevam > 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 poll

[PATCH v2 2/5] thermal: imx_tmu: Fix the polling default

2023-08-23 Thread Fabio Estevam
From: Fabio Estevam 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 interv