mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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 <festevam@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
402b8106ec
commit
966480fe43
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue