summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/s230u/acpi/gpe.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/s230u/acpi/gpe.asl')
-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 4f25557cf6..f9ba2096fb 100644
--- a/src/mainboard/lenovo/s230u/acpi/gpe.asl
+++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl
@@ -6,7 +6,7 @@ Scope (_GPE)
Method (PNOT, 2, Serialized) {
Local0 = Arg0 << Arg1
Not(One << Arg1, Local1)
- Or (Local0, And (Local1, PDET), PDET)
+ PDET = Local0 | And (Local1, PDET)
If (PDET == Zero) {
// Palm removed
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
@@ -22,7 +22,7 @@ Scope (_GPE)
Not (Local0, Local0)
And (GIV0, Local0, GIV0)
} Else {
- Or (GIV0, Local0, GIV0)
+ GIV0 |= Local0
}
}