it87: Prevent overflow on fan clock divider write
authorJean Delvare <khali@linux-fr.org>
Mon, 28 Aug 2006 12:26:22 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:13 +0000 (15:31 -0700)
commitb9e349f710376ef55f200e9fa07e88b4fe2cdf98
tree221fe66ca1b1fe93ed1e9cf7b9fa988779d22a11
parent9060f8bdd0c40e31d2be388e59f2dbeea55988a2
it87: Prevent overflow on fan clock divider write

it87: Prevent overflow on fan clock divider write

The highest possible clock divider for fan1 and fan2 is 128.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c