Remove not very useful printf, that can be too chatty.
ASUS P8Z77-V board reports _AC2, _AC3 and _AC4 setpoints as 0C. With active cooling already automatically set to _AC2, that still caused driver to print two useless lines about temperature above _AC3 and _AC4 every ten seconds. Three setponts of 0C is probably a board bug, but the same spam could happen also in correct case if system is runnign not with the lowest cooling level.
This commit is contained in:
parent
78e832b82d
commit
f404e02afd
@ -509,15 +509,8 @@ acpi_tz_monitor(void *Context)
|
||||
*/
|
||||
newactive = TZ_ACTIVE_NONE;
|
||||
for (i = TZ_NUMLEVELS - 1; i >= 0; i--) {
|
||||
if (sc->tz_zone.ac[i] != -1 && temp >= sc->tz_zone.ac[i]) {
|
||||
if (sc->tz_zone.ac[i] != -1 && temp >= sc->tz_zone.ac[i])
|
||||
newactive = i;
|
||||
if (sc->tz_active != newactive) {
|
||||
ACPI_VPRINT(sc->tz_dev,
|
||||
acpi_device_get_parent_softc(sc->tz_dev),
|
||||
"_AC%d: temperature %d.%d >= setpoint %d.%d\n", i,
|
||||
TZ_KELVTOC(temp), TZ_KELVTOC(sc->tz_zone.ac[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user