Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60685 )
Change subject: ec/quanta/it8518/acpi: Replace LGreater(a,b) with ASL 2.0 syntax ......................................................................
ec/quanta/it8518/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: I86a11ab5d2667661af3491174001001e644083e3 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/ec/quanta/it8518/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/60685/1
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 8ca54f7..5fa9502 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -317,7 +317,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) }