Matthew Garrett 9bcb811896 ACPI: Evaluate thermal trip points before reading temperature
An HP laptop (Pavilion G4-1016tx) has the following code in _TMP:

       Store (\_SB.PCI0.LPCB.EC0.RTMP, Local0)
       If (LGreaterEqual (Local0, S4TP))
       {
           Store (One, HTS4)
       }

S4TP is initialised at 0 and not programmed further until either _HOT or
_CRT is called. If we evaluate _TMP before the trip points then HTS4 will
always be set, causing the firmware to generate a message on boot
complaining that the system shut down because of overheating. The simplest
solution is just to reverse the checking of trip points and _TMP in thermal
init.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2012-03-30 02:38:31 -04:00
..
2012-01-03 22:54:56 -05:00
2011-11-06 20:32:31 -05:00
2011-03-22 23:20:35 -04:00
2012-01-03 22:54:56 -05:00
2011-05-29 04:40:39 -04:00
2011-07-16 18:36:17 -04:00
2012-01-04 11:47:45 +01:00
2012-01-17 04:19:04 -05:00
2012-01-17 03:54:44 -05:00
2012-01-06 12:10:26 -08:00
2011-11-06 19:13:44 -05:00