From: Henrique de Moraes Holschuh Date: Tue, 24 Apr 2007 14:48:18 +0000 (-0300) Subject: ACPI: thinkpad-acpi: add a safety net for TPEC fan control mode X-Git-Tag: v2.6.22-rc1~1112^2~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa7571b2d1a08873e4bdd8e6db3431df61cd9ad;p=pandora-kernel.git ACPI: thinkpad-acpi: add a safety net for TPEC fan control mode The Linux ThinkPad community is not positive that all ThinkPads that do HFSP EC fan control do implement full-speed and auto modes, some of the earlier ones supporting HFSP might not. If the EC ignores the AUTO or FULL-SPEED bits, it will pay attention to the lower three bits that set the fan level. And as thinkpad-acpi was leaving these set to zero, it would stop(!) the fan, which is Not A Good Thing. So, as a safety net, we now make sure to also set the fan level part of the HFSP register to speed 7 for full-speed, and a minimum of speed 4 for auto mode. Signed-off-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- Reading git-diff-tree failed