summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/acpi/thermal.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/thermal.asl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl
index 3d4b718a96..03abd758dd 100644
--- a/src/ec/lenovo/h8/acpi/thermal.asl
+++ b/src/ec/lenovo/h8/acpi/thermal.asl
@@ -46,7 +46,7 @@ External (\PPKG, MethodObj)
/* Get critical temperature in degree celsius */
Method (GCRT, 0, NotSerialized) {
- Store (\TCRT, Local0)
+ Local0 = \TCRT
if (Local0 > 0) {
Return (Local0)
}
@@ -55,7 +55,7 @@ External (\PPKG, MethodObj)
/* Get passive temperature in degree celsius */
Method (GPSV, 0, NotSerialized) {
- Store (\TPSV, Local0)
+ Local0 = \TPSV
if (Local0 > 0) {
Return (Local0)
}
@@ -76,13 +76,13 @@ External (\PPKG, MethodObj)
If (!MEB1 && \_SB.PCI0.LPCB.EC.TMP0 == 128) {
Return (C2K(40))
}
- Store (1, MEB1)
+ MEB1 = 1
#endif
Return (C2K(\_SB.PCI0.LPCB.EC.TMP0))
}
Method (_AC0) {
- Store (GPSV (), Local0)
+ Local0 = GPSV ()
/* Active fan 10 degree below passive threshold */
Local0 -= 10
@@ -113,13 +113,13 @@ External (\PPKG, MethodObj)
*/
Method (_ON) {
\_SB.PCI0.LPCB.EC.FANE(One)
- Store (One, \FLVL)
+ \FLVL = One
Notify (\_TZ.THM0, NOTIFY_TZ_TRIPPTCHG)
}
Method (_OFF) {
\_SB.PCI0.LPCB.EC.FANE(Zero)
- Store (Zero, \FLVL)
+ \FLVL = Zero
Notify (\_TZ.THM0, NOTIFY_TZ_TRIPPTCHG)
}
}
@@ -163,7 +163,7 @@ External (\PPKG, MethodObj)
If (!MEB2 && \_SB.PCI0.LPCB.EC.TMP1 == 128) {
Return (C2K(40))
}
- Store (1, MEB2)
+ MEB2 = 1
#endif
Return (C2K(\_SB.PCI0.LPCB.EC.TMP1))
}