change fan control to go down faster

This commit is contained in:
Ralph Metzler 2019-08-05 16:01:12 +02:00
parent 4196458803
commit 35e0de3968
1 changed files with 1 additions and 1 deletions

View File

@ -4472,7 +4472,7 @@ static void tempmon_setfan(struct ddb_link *link)
while (pwm < 10 && temp >= link->temp_tab[pwm + 1])
pwm += 1;
} else {
while (pwm > 1 && temp < link->temp_tab[pwm - 2])
while (pwm > 1 && temp < (link->temp_tab[pwm] - 2))
pwm -= 1;
}
ddblwritel(link, (pwm << 8), TEMPMON_FANCONTROL);