]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (aspeed-pwm-tacho) increase fan tach period
authorPatrick Venture <venture@google.com>
Mon, 11 Sep 2017 22:41:55 +0000 (15:41 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2017 01:36:03 +0000 (18:36 -0700)
commitb5058115cf092196c073e22f52ba613c90e67914
treee4db5c5231a055fa8086c62986faa76807d7617c
parent59ee5eae7c5ff7873ab8190db0b87a1d96eb6758
hwmon: (aspeed-pwm-tacho) increase fan tach period

The previous value reduced the time required to determine
the fan value, however, it's also used as the final timeout
mechanism.  The prevous value would work for any fan speed
greater than around 3k RPM.  This increased value, lets the fan
speeds return quickly but will wait longer to handle speeds below 3k
RPM.

Testing: this value was determined through experimentation on the ast2400
on the Quanta-q71l.  This configurations runs 8 fans attached to the
controller.

Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aspeed-pwm-tacho.c