diff options
Diffstat (limited to 'src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl')
-rw-r--r-- | src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl index a944db6113..4759dbb019 100644 --- a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl +++ b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl @@ -14,13 +14,12 @@ Scope (\_SB.PCI0.I2C1) */ Method (_DSM, 4, NotSerialized) { - If (LEqual (Arg0, ToUUID ( - "3cdff6f7-4267-4555-ad05-b30a3d8938de"))) + If (Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de")) { // DSM Revision - If (LEqual (Arg2, Zero)) + If (Arg2 == Zero) { - If (LEqual (Arg1, One)) + If (Arg1 == One) { Return (Buffer (One) { @@ -36,7 +35,7 @@ Scope (\_SB.PCI0.I2C1) } } // HID Function - If (LEqual (Arg2, One)) + If (Arg2 == One) { Return (0x20) } @@ -71,7 +70,7 @@ Scope (\_SB.PCI0.I2C1) Method (_STA) { - If (LEqual (\S1EN, 1)) { + If (\S1EN == 1) { Return (0xF) } Else { Return (0x0) |