summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/variants/guado
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/jecht/variants/guado')
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
index 84aea6f849..6577ee0c46 100644
--- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
+++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl
@@ -64,12 +64,12 @@ Scope (\_TZ)
Store (\_SB.PCI0.LPCB.SIO.ENVC.TIN3, Local0)
// Check for "no reading available
- If (LEqual (Local0, 0x80)) {
+ If (Local0 == 0x80) {
Return (CTOK (FAN0_THRESHOLD_ON))
}
// Check for invalid readings
- If (LEqual (Local0, 255) || LEqual (Local0, 0)) {
+ If (Local0 == 255 || Local0 == 0) {
Return (CTOK (FAN0_THRESHOLD_ON))
}