commit | fa36e65a865eb7bcb1dcb2eafaf84726c62335e8 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Fri Dec 31 14:16:12 2021 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Sat Jan 01 14:23:50 2022 +0000 |
tree | bf603cedc1210ecd898c911fb59620cc772a4242 | |
parent | 66e263005293f876b4aa53753df49c3bed11a7e7 [diff] |
ec/google/chromeec/acpi: Replace Decrement() with ASL 2.0 syntax Replace `Decrement (a)` with `a--`. Change-Id: Ie2d5856316e2c8faac657c6caf79a46f099353be Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60590 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 3416633..8cbe710 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -22,7 +22,7 @@ While (LNotEqual (BTIX, Arg0)) { Sleep (1) - Decrement (Local0) + Local0-- If (LEqual (Local0, Zero)) { Return (One)