summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:16:58 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:24:09 +0000
commit9f8ce8f2eb1a4d87ebec679f505f82d3a51acb99 (patch)
treecf402c80750ee7e8082ed6a4afc14d8d465cc450 /src/ec
parentfa36e65a865eb7bcb1dcb2eafaf84726c62335e8 (diff)
ec/quanta/ene_kb3940q/acpi: Replace Decrement() with ASL 2.0 syntax
Replace `Decrement (a)` with `a--`. Change-Id: I2105c22d15d4f078270911a7fa7290b3a9b6b841 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60591 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec')
-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 12f0809d99..1f1cf9729a 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
@@ -194,7 +194,7 @@ Device (EC0)
Store(\_SB.CP00._PPC, Local0)
If(Local0) {
- Decrement(Local0)
+ Local0--
\PPCN ()
}