summaryrefslogtreecommitdiff
path: root/drivers/hwmon/scpi-hwmon.c
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2017-06-01 07:25:33 -0700
committerGuenter Roeck <linux@roeck-us.net>2017-06-11 17:08:19 -0700
commit1e276292bf25d288b645d3026f6c026ac9347061 (patch)
tree3d64ef8ab72834a5ca82e593b33ff39d1c6de12b /drivers/hwmon/scpi-hwmon.c
parent996cf5a5e94486113e8b998c4e1ecd9e4933aee8 (diff)
hwmon: (aspeed-pwm-tacho) Enable both edge measurement.
The aspeed-pwm-tacho controller supports measuring the fan tach by using leading, falling, or both edges. This change allows the driver to support either of the three configurations and will appropriately modify the returned tach data. If the controller is measuring with both edges it can return a value more quickly to the requestor. This version of the driver should still take ~1s to return with an RPM value per fan, however, it can be tuned faster with double edge counting enabled than without. I tested this and found the number returned matched what I expected. Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/scpi-hwmon.c')
0 files changed, 0 insertions, 0 deletions