commit | d25277666829d7ed9897598d3ed46fdee0613106 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Fri Dec 16 07:54:16 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Fri Dec 23 10:18:55 2022 +0000 |
tree | a8aa22ed086730113ae0fefb2584fb0f424cc5c4 | |
parent | 35e65a8bc36628baad7d2ed94bef7619971e6d88 [diff] [blame] |
tree: Replace And(a,b) with ASL 2.0 syntax Replace `And (a, b)` with `a & b`. Change-Id: Id8bbd1a477e6286bbcb5fa31afd1c7a860b1c7dc Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70851 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index c2f6351..689ebc4 100644 --- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -46,7 +46,7 @@ { Return (Ones) } - If (And(MBOX, 0x4) == 0) + If (MBOX & 4 == 0) { Return (Ones) } @@ -74,7 +74,7 @@ While (Local0 > 0) { Sleep (1) - If (And (ASLC, 0x2) == 0) { + If (ASLC & 2 == 0) { /* Request has been processed, check status: */ Local1 = (ASLC >> 12) & 3 If (Local1 == 0) {