change fan control to go down faster
This commit is contained in:
parent
4196458803
commit
35e0de3968
|
@ -4472,7 +4472,7 @@ static void tempmon_setfan(struct ddb_link *link)
|
||||||
while (pwm < 10 && temp >= link->temp_tab[pwm + 1])
|
while (pwm < 10 && temp >= link->temp_tab[pwm + 1])
|
||||||
pwm += 1;
|
pwm += 1;
|
||||||
} else {
|
} else {
|
||||||
while (pwm > 1 && temp < link->temp_tab[pwm - 2])
|
while (pwm > 1 && temp < (link->temp_tab[pwm] - 2))
|
||||||
pwm -= 1;
|
pwm -= 1;
|
||||||
}
|
}
|
||||||
ddblwritel(link, (pwm << 8), TEMPMON_FANCONTROL);
|
ddblwritel(link, (pwm << 8), TEMPMON_FANCONTROL);
|
||||||
|
|
Loading…
Reference in New Issue