summaryrefslogtreecommitdiff
path: root/src/ec/quanta
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index 82269010ef..ef7a8e2520 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -235,7 +235,7 @@ Device (BATX)
// Set critical flag if battery is empty
If (And (HB0S, 0x0F) == 0)
{
- Or (Local0, 4, Local0)
+ Local0 |= 4
}
Local1 = Zero
@@ -254,7 +254,7 @@ Device (BATX)
// Flag if the battery level is critical
And (Local0, 0x04, Local4)
- Or (Local1, Local4, Local1)
+ Local1 |= Local4
PBST[0] = Local1
//