Skip to contentSkip to conversation

hwmon: (aspeed-pwm-tacho) reduce fan_tach period

PATCH New Patrick Venture 1 participant 1 message Jun 21, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hwmon: (aspeed-pwm-tacho) reduce fan_tach period

Reduce the fan_tach period such that the fan controller uses a shorter period to measure the rpm.

Testing: This was tested on an ast2400 sitting on a quanta-q71l.

---
 drivers/hwmon/aspeed-pwm-tacho.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/aspeed-pwm-tacho.c +1 -1
index 86e2ea8287a7..b2ab5612d8a4 100644
@@ -160,7 +160,7 @@
  * 11: reserved.
  */
 #define M_TACH_MODE 0x02 /* 10b */
-#define M_TACH_UNIT 0x1000
+#define M_TACH_UNIT 0x00c0
 #define INIT_FAN_CTRL 0xFF
 
 struct aspeed_pwm_tacho_data {
Signature · 1 line
2.13.1.611.g7e3b11ae1-goog