commit | abc01922477104e8d72b494902aff37135c409e7 | [log] [tgz] |
---|---|---|
author | Grant Coady <grant_lkml@dodo.com.au> | Thu May 12 13:41:51 2005 +1000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 21 21:51:56 2005 -0700 |
tree | 7ef178b1a14e89c88bac1a976c238c91fc1697ee | |
parent | b9826b3ee8faa468a26782e3bf37716a73d96730 [diff] |
[PATCH] I2C: Setting w83627hf fan divisor 128 fails. Jarkko Lavinen provided patch to fix: "couldn't set the divisor 128 through fan1_div sysfs entry even though the chip supports it and setting divisors 1..64 worked. This was due to POWER_TO_REG() only checking 2's powers 0 till 5 but not 6." This patch applies that fix to w83627hf and w83781d drivers. Signed-off-by: Grant Coady <gcoady@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>