summaryrefslogtreecommitdiff
path: root/drivers/base/sys.c
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2010-02-20 10:44:27 (GMT)
committerLen Brown <len.brown@intel.com>2010-02-23 05:43:36 (GMT)
commitfa80945269f312bc609e8384302f58b03c916e12 (patch)
treea35b94464a24d0a597b81ab63e4af1b1930f238b /drivers/base/sys.c
parent9f3a6284880ceea452903e2043c88d7226736318 (diff)
downloadlinux-fsl-qoriq-fa80945269f312bc609e8384302f58b03c916e12.tar.xz
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/base/sys.c')
0 files changed, 0 insertions, 0 deletions