From: Grant Coady Date: Thu, 12 May 2005 03:41:51 +0000 (+1000) Subject: [PATCH] I2C: Setting w83627hf fan divisor 128 fails. X-Git-Tag: v2.6.13-rc4~130^2~160^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc01922477104e8d72b494902aff37135c409e7;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed