diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 14:17:57 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:24:51 +0000 |
commit | d4a91aaf1f2ea2ab4d9e7c6a56057f4bd1697703 (patch) | |
tree | 5b6505f17fbd248b2de3afbf8c79b979bbe7bca1 /src/ec/quanta | |
parent | 9f8ce8f2eb1a4d87ebec679f505f82d3a51acb99 (diff) |
ec/quanta/it8518/acpi: Replace Decrement() with ASL 2.0 syntax
Replace `Decrement (a)` with `a--`.
Change-Id: Ibf5bdb1b3c2524194089b27a8af61b84f517e117
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60592
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/quanta')
-rw-r--r-- | src/ec/quanta/it8518/acpi/battery.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 9c4844242b..5b51c892fc 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -67,7 +67,7 @@ Device (BATX) { // EC Is not ready Sleep (5) - Decrement (Local0) + Local0-- If (LEqual (Local0, Zero)) { Break |