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: NChris D Schimp <silverchris@gmail.com> [guenter.roeck@ericsson.com: do not report negative RPM values] Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com> Cc: stable@vger.kernel.org # 3.0+ Acked-by: NRoland Stigge <stigge@antcom.de>
Showing
想要评论请 注册 或 登录