From: Fabio Estevam Date: Wed, 23 Aug 2023 17:59:09 +0000 (-0300) Subject: thermal: imx_tmu: Increase the log level for high temperatures X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=966480fe43ba929373b7449fa5b918d63cca88b3;p=u-boot.git thermal: imx_tmu: Increase the log level for high temperatures dev_info() message is not printed by default. Increase the log level to dev_crit(). This allows the critical messages related to the temperature getting beyong the alert threshold to be displayed. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini --- diff --git a/drivers/thermal/imx_tmu.c b/drivers/thermal/imx_tmu.c index d9a04eaf79..d2ea084d2d 100644 --- a/drivers/thermal/imx_tmu.c +++ b/drivers/thermal/imx_tmu.c @@ -238,7 +238,7 @@ int imx_tmu_get_temp(struct udevice *dev, int *temp) return ret; while (cpu_tmp >= pdata->alert) { - dev_info(dev, "CPU Temperature (%dC) has beyond alert (%dC), close to critical (%dC) waiting...\n", + dev_crit(dev, "CPU Temperature (%dC) has beyond alert (%dC), close to critical (%dC) waiting...\n", cpu_tmp, pdata->alert, pdata->critical); mdelay(pdata->polling_delay); ret = read_temperature(dev, &cpu_tmp);