summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/compal/ene932/acpi/battery.asl4
-rw-r--r--src/ec/quanta/ene_kb3940q/acpi/battery.asl2
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/compal/ene932/acpi/battery.asl b/src/ec/compal/ene932/acpi/battery.asl
index e7dd4e12da..12092c7b8a 100644
--- a/src/ec/compal/ene932/acpi/battery.asl
+++ b/src/ec/compal/ene932/acpi/battery.asl
@@ -77,10 +77,10 @@ Device (BATX)
Store (BDC0, Index (PBIF, 1))
Store (BFC0, Index (PBIF, 2))
Store (BDV0, Index (PBIF, 4))
- Divide(BFC0, 0x64, Local0, Local1)
+ Divide(BFC0, 0x64, , Local1)
Multiply(Local1, 0x0A, Local1)
Store(Local1, Index(PBIF, 5))
- Divide(BFC0, 0x64, Local0, Local1)
+ Divide(BFC0, 0x64, , Local1)
Multiply(Local1, 0x03, Local1)
Store (Local1, Index (PBIF, 6))
diff --git a/src/ec/quanta/ene_kb3940q/acpi/battery.asl b/src/ec/quanta/ene_kb3940q/acpi/battery.asl
index 7c88c0c96c..4467797126 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/battery.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/battery.asl
@@ -85,7 +85,7 @@ Device (BATX)
Store (BDC0, Index (PBIF, 1)) // Batt Design Capacity
Store (BFC0, Index (PBIF, 2)) // Batt Last Full Charge Capacity
Store (BDV0, Index (PBIF, 4)) // Batt Design Voltage
- Divide(BFC0, 0x64, Local0, Local1)
+ Divide(BFC0, 0x64, , Local1)
Multiply(Local1, 0x0A, Local0)
Store(Local0, Index(PBIF, 5))
Multiply(Local1, 0x05, Local0)
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index cc62ee2409..1f37f130c9 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -163,7 +163,7 @@ Device (BATX)
// Design capacity of High (5%)
// Design capacity of Low (1%)
//
- Divide (Local0, 20, Local1, Index (PBIF, 5))
+ Divide (Local0, 20, , Index (PBIF, 5))
Divide (Local0, 100, , Index (PBIF, 6))
//