summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/quanta/ene_kb3940q/acpi/ec.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/ene_kb3940q/acpi/ec.asl b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
index 4da16eabda..bc84bf1823 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
@@ -177,7 +177,7 @@ Device (EC0)
Printf ("Pstate Event 0x0E")
Store(\_SB.CP00._PPC, Local0)
- Subtract(PPCM, 0x01, Local1)
+ Local1 = PPCM - 1
If(LLess(Local0, Local1)) {
Increment(Local0)