diff options
author | Thomas Renninger <trenn@suse.de> | 2010-02-20 11:44:27 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-02-23 00:43:36 -0500 |
commit | fa80945269f312bc609e8384302f58b03c916e12 (patch) | |
tree | a35b94464a24d0a597b81ab63e4af1b1930f238b /drivers/acpi/acpica/evregion.c | |
parent | 9f3a6284880ceea452903e2043c88d7226736318 (diff) |
ACPI thermal: Don't invalidate thermal zone if critical trip point is bad
V2: Corrected integer/long conversion.
Some BIOSes return a negative value for the critical trip point.
Especially since Windows 2006...
We currently invalidate the whole thermal zone in this case.
But it may still be needed for cooling, also without critical
trip point.
This patch invalidates the critical trip point if no _CRT
function is found or if it returns negative values, but does
not invalidate the whole thermal zone in this case.
Reference: http://bugzilla.novell.com/show_bug.cgi?id=531547
Signed-off-by: Thomas Renninger <trenn@suse.de>
Tested-by: clarkt@cnsp.com
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evregion.c')
0 files changed, 0 insertions, 0 deletions