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 06:43:36 +0100 |
commit | fa80945269f312bc609e8384302f58b03c916e12 (patch) | |
tree | a35b94464a24d0a597b81ab63e4af1b1930f238b /drivers/acpi/video.c | |
parent | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff) | |
download | linux-fa80945269f312bc609e8384302f58b03c916e12.tar.xz linux-fa80945269f312bc609e8384302f58b03c916e12.zip |
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/video.c')
0 files changed, 0 insertions, 0 deletions