summaryrefslogtreecommitdiff
path: root/src/ec/smsc/mec1308
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/smsc/mec1308')
-rw-r--r--src/ec/smsc/mec1308/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl
index 0cc41a178b..0007c4129f 100644
--- a/src/ec/smsc/mec1308/acpi/battery.asl
+++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -63,7 +63,7 @@ Device (BAT0)
ShiftLeft (Arg0, 8, Local1)
And (Local1, 0xFF00, Local1)
Or (Local0, Local1, Local0)
- If (LEqual (Local0, 0xFFFF)) {
+ If (Local0 == 0xFFFF) {
Store (0xFFFFFFFF, Local0)
}
Return (Local0)