diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 01:58:20 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:18:43 +0000 |
commit | 9bfbbe8b170365ea34116557f43e5f8415a95160 (patch) | |
tree | 8ef995efc36361a83b4ce690d184a290cf943158 | |
parent | 6929403b884adf7c16aed6dd630c5374fad039f2 (diff) |
ec/smsc/mec1308/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: I04f3cc2dbba59d732c9c52a4b90a32481f9da337
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60684
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
-rw-r--r-- | src/ec/smsc/mec1308/acpi/battery.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 732f392308..dbc08ddc7c 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -157,7 +157,7 @@ Device (BAT0) // See if within ~3% of full ShiftRight (Local2, 5, Local3) - If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3) + If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3) { Store (Local2, Local1) } |