summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/parrot/acpi/mainboard.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/parrot/acpi/mainboard.asl b/src/mainboard/google/parrot/acpi/mainboard.asl
index 4ab97330b1..503e44b620 100644
--- a/src/mainboard/google/parrot/acpi/mainboard.asl
+++ b/src/mainboard/google/parrot/acpi/mainboard.asl
@@ -22,6 +22,13 @@
Scope (\_GPE) {
Method(_L1F, 0x0, NotSerialized)
{
+ /*
+ * Invert the interrupt level bit for the lid GPIO
+ * so we don't get another _SB.LID0 until the state
+ * changes again. GIV1 is the interrupt level control
+ * register for GPIO bits 15:8
+ */
+ Xor(GIV1, 0x80, GIV1)
Notify(\_SB.LID0,0x80)
}
}