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)
committerLen Brown <len.brown@intel.com>
Wed, 11 Jun 2008 23:13:47 +0000 (19:13 -0400)
commita39a2d7c72b358c6253a2ec28e17b023b7f6f41c
treee6ad8c035a0db797d748a3739385de14c9ed55f7
parent8410565f540db87ca938f56f92780d251e4f157d
ACPI: Reject below-freezing temperatures as invalid critical temperatures

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>
drivers/acpi/thermal.c