hwmon: (it87) Fix fan tachometer reading in IT8712F rev 0x7 (I)
authorAndrew Paprocki <andrew@ishiboo.com>
Sat, 20 Sep 2008 08:25:19 +0000 (10:25 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Sat, 20 Sep 2008 08:25:19 +0000 (10:25 +0200)
commit859b9ef30cc1bdba4b55327b95b22489bd5591c2
tree02ac8658ab2bf6ca5eee6ca2888d93efc7bc5c31
parent13b3c3fa27f8f4ed306ce624f446fab000dd8ee4
hwmon: (it87) Fix fan tachometer reading in IT8712F rev 0x7 (I)

The IT8712F v0.9.1 datasheet applies to revisions >= 0x8 (J).
The driver was incorrectly attempting to enable 16-bit fan
readings on rev 0x7 (I) which led to incorrect RPM values.

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
Tested-by: John Gumb <john.gumb@tandberg.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c