diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-30 00:23:46 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2021-12-30 23:59:43 +0000 |
commit | ae2d14b4a1a1a13c03c838680a8d223cb7787504 (patch) | |
tree | 42d8ea71a520cd3c581ce2f749e6eb091795ef02 /src/ec/quanta/ene_kb3940q/acpi/ec.asl | |
parent | f5b162e55dcf2720bebd15ae192ce10ef320ffc5 (diff) |
ec/quanta/ene_kb3940q/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax
Replace `Subtract (a, b, c)` with `c = a - b`.
Change-Id: I4a0bf83013065176782b18d0eb40d96c11a54791
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60477
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/quanta/ene_kb3940q/acpi/ec.asl')
-rw-r--r-- | src/ec/quanta/ene_kb3940q/acpi/ec.asl | 2 |
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) |