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>
This commit is contained in:
Felix Singer 2021-12-31 14:17:57 +01:00
parent 9f8ce8f2eb
commit d4a91aaf1f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Device (BATX)
{
// EC Is not ready
Sleep (5)
Decrement (Local0)
Local0--
If (LEqual (Local0, Zero))
{
Break