summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/acpi/codec_maxim.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 23:02:09 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 22:06:33 +0000
commit096158d6e0c85db4c1069424956d1c3b3bde1b5c (patch)
treebbd0811d49889cb2079994392db94e37df47dcdc /src/mainboard/google/cyan/acpi/codec_maxim.asl
parent2ed8992d736e14c36fc625f9d9b9cfea5d603a94 (diff)
mb/google/cyan/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I9441988c0bf6d07641595a3b501c2af5230ba131 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70596 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/cyan/acpi/codec_maxim.asl')
-rw-r--r--src/mainboard/google/cyan/acpi/codec_maxim.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/acpi/codec_maxim.asl b/src/mainboard/google/cyan/acpi/codec_maxim.asl
index e85e93775c..dd68904f9b 100644
--- a/src/mainboard/google/cyan/acpi/codec_maxim.asl
+++ b/src/mainboard/google/cyan/acpi/codec_maxim.asl
@@ -39,7 +39,7 @@ Scope (\_SB.PCI0.I2C2)
Method (_STA)
{
- If (LEqual (\S2EN, 1)) {
+ If (\S2EN == 1) {
Return (0xF)
} Else {
Return (0x0)