diff options
Diffstat (limited to 'src/ec/google')
-rw-r--r-- | src/ec/google/wilco/acpi/dptf.asl | 2 | ||||
-rw-r--r-- | src/ec/google/wilco/acpi/ec.asl | 2 | ||||
-rw-r--r-- | src/ec/google/wilco/acpi/lid.asl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/google/wilco/acpi/dptf.asl b/src/ec/google/wilco/acpi/dptf.asl index 705988af24..6de72e817d 100644 --- a/src/ec/google/wilco/acpi/dptf.asl +++ b/src/ec/google/wilco/acpi/dptf.asl @@ -96,7 +96,7 @@ Method (PATX, 0, Serialized) Printf ("Sensor trip mask: %o", Local0) - If (LNot (Acquire (^PATM, 1000))) { + If (!Acquire (^PATM, 1000)) { /* Handle bits that are set */ While (FindSetRightBit (Local1, Local2)) diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl index 7531dbf8a5..d552604406 100644 --- a/src/ec/google/wilco/acpi/ec.asl +++ b/src/ec/google/wilco/acpi/ec.asl @@ -50,7 +50,7 @@ Device (EC0) ^UCSI.INIT () // Initialize LID switch state - Store (R (P1LC), \LIDS) + \LIDS = R (P1LC) } /* diff --git a/src/ec/google/wilco/acpi/lid.asl b/src/ec/google/wilco/acpi/lid.asl index 3fae71f5a5..c381499c67 100644 --- a/src/ec/google/wilco/acpi/lid.asl +++ b/src/ec/google/wilco/acpi/lid.asl @@ -8,7 +8,7 @@ Device (LID0) Method (_LID, 0, NotSerialized) { - Store (R (P1LC), \LIDS) + \LIDS = R (P1LC) Return (\LIDS) } } |