commit | 9bfbbe8b170365ea34116557f43e5f8415a95160 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sun Jan 02 01:58:20 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Thu Jun 09 09:18:43 2022 +0000 |
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>
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 732f392..dbc08dd 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -157,7 +157,7 @@ // 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) }