diff options
author | Chris D Schimp <silverchris@gmail.com> | 2012-02-20 16:59:24 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-02-21 14:30:12 -0800 |
commit | b63d97a36edb1aecf8c13e5f5783feff4d64c24b (patch) | |
tree | cc84e698347ae3aa26ff88f7adfe5f505edc7b83 /drivers/dio | |
parent | b01543dfe67bb1d191998e90d20534dc354de059 (diff) |
hwmon: (max6639) Fix FAN_FROM_REG calculation
RPM calculation from tachometer value does not depend on PPR.
Also, do not report negative RPM values.
Signed-off-by: Chris D Schimp <silverchris@gmail.com>
[guenter.roeck@ericsson.com: do not report negative RPM values]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Roland Stigge <stigge@antcom.de>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions