hwmon: (gl518sm) Fix the reported fan speed
authorJean Delvare <khali@linux-fr.org>
Tue, 23 Oct 2007 12:02:24 +0000 (14:02 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:41 +0000 (20:39 -0500)
commit72240307e988627df46553846936aa89a0f6a283
treeb4def278323a7f91376bc8a996e1b29f112e7fa1
parent21df67b191fd612fa28aedd39ec1414d8effc454
hwmon: (gl518sm) Fix the reported fan speed

The fan speeds reported by the gl518sm driver are twice as much as they
should. It's currently reporting the number of pulses per minute, not
rotations per minute, while typical fans emit two pulses per rotation.
This explains why all reports with this driver had very high speed
values (between 9000 to 12000 RPM). Odd that nobody ever actually
complained about this bug.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/gl518sm.c