summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/s230u/acpi/gpe.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/s230u/acpi/gpe.asl b/src/mainboard/lenovo/s230u/acpi/gpe.asl
index 7396c02bc3..19531952f9 100644
--- a/src/mainboard/lenovo/s230u/acpi/gpe.asl
+++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl
@@ -5,7 +5,7 @@ Scope (_GPE)
Name (PDET, Zero)
Method (PNOT, 2, Serialized) {
Local0 = Arg0 << Arg1
- Not(One << Arg1, Local1)
+ Local1 = ~(1 << Arg1)
PDET = Local0 | (Local1 & PDET)
If (PDET == Zero) {
// Palm removed
@@ -19,7 +19,7 @@ Scope (_GPE)
Method (TINV, 2, Serialized) {
Local0 = One << Arg1
If (Arg0 == Zero) {
- Not (Local0, Local0)
+ Local0 = ~Local0
GIV0 &= Local0
} Else {
GIV0 |= Local0