diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-10 21:19:12 +0000 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-05-10 21:20:52 +0000 |
commit | 551af99b5cadeeff8bb97b97b3afa82421b7eca0 (patch) | |
tree | 92b2757195d5a1660f0f83e8cd074ff7bda556e7 | |
parent | 6a2f7452a635071a267d8a888a21038263efbca5 (diff) | |
download | blackbird-obmc-linux-551af99b5cadeeff8bb97b97b3afa82421b7eca0.tar.gz blackbird-obmc-linux-551af99b5cadeeff8bb97b97b3afa82421b7eca0.zip |
hwmon/aspeed-pwm-tacho: Increase tachometer read timedev-5.0-raptor-04-16-2019
On the Blackbird desk-side systems we expect users will be running
large fans very slowly. The current tachometer reading drops to
zero under those conditions, resulting in failed fan detection
systems kicking in.
Increase the tachometer read time to allow for slower fans to
return a valid speed. This does make read slower, but more
advance fan control software should be able to compensate via
e.g. PID loops.
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
-rw-r--r-- | drivers/hwmon/aspeed-pwm-tacho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c index a9bf01a46737..e9aba0075f8f 100644 --- a/drivers/hwmon/aspeed-pwm-tacho.c +++ b/drivers/hwmon/aspeed-pwm-tacho.c @@ -162,7 +162,7 @@ * 11: reserved. */ #define M_TACH_MODE 0x02 /* 10b */ -#define M_TACH_UNIT 0x0210 +#define M_TACH_UNIT 0x1000 #define INIT_FAN_CTRL 0xFF /* How long we sleep in us while waiting for an RPM result. */ |