Attention is currently required from: Patrick Rudolph. Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60576 )
Change subject: drivers/intel/gma/acpi: Replace LOr() with ASL 2.0 syntax ......................................................................
drivers/intel/gma/acpi: Replace LOr() with ASL 2.0 syntax
Replace `LOr (a, b)` with `a || b`.
Change-Id: I26f785c2f959539141e70053ae38aac16d3b9185 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/drivers/intel/gma/acpi/configure_brightness_levels.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/60576/1
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index e273b22..f0e6c31 100644 --- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl @@ -127,7 +127,7 @@ Store (DeRefOf (BRIG[Local1 + 1]), Local3)
If (LLess (Local0, Local3)) { - If (LOr (LLess (Local0, Local2), LLess (Local0 - Local2, Local3 - Local0))) { + If (LLess (Local0, Local2) || LLess (Local0 - Local2, Local3 - Local0)) { Return (Local2) } Else { Return (Local3)