ACPI: Reject below-freezing temperatures as invalid critical temperatures
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 19 May 2008 22:55:15 +0000 (15:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Aug 2008 17:11:04 +0000 (10:11 -0700)
commita48b0ab0a17f7cbc5dfef2546b670e61eeea0126
tree3aed128966783f2eec2db983f4dca005e415e50f
parentb30f01e1285830e4a13ee382ae1c36df2d07a50b
ACPI: Reject below-freezing temperatures as invalid critical temperatures

commit a39a2d7c72b358c6253a2ec28e17b023b7f6f41c upstream

My laptop thinks that it's a good idea to give -73C as the critical
CPU temperature.... which isn't the best thing since it causes a shutdown
right at bootup.

Temperatures below freezing are clearly invalid critical thresholds
so just reject these as such.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/thermal.c