Skip to content
Commit b63d97a3 authored by Chris D Schimp's avatar Chris D Schimp Committed by Guenter Roeck
Browse files

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: default avatarChris D Schimp <silverchris@gmail.com>
[guenter.roeck@ericsson.com: do not report negative RPM values]
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@vger.kernel.org # 3.0+
Acked-by: default avatarRoland Stigge <stigge@antcom.de>
parent b01543df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment