summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/google/chromeec/acpi/cros_ec.asl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl
index 1159f9f49a..5b5229b601 100644
--- a/src/ec/google/chromeec/acpi/cros_ec.asl
+++ b/src/ec/google/chromeec/acpi/cros_ec.asl
@@ -6,7 +6,11 @@ Device (CREC)
Name (_UID, 1)
Name (_DDN, "EC Command Device")
#ifdef EC_ENABLE_WAKE_PIN
+#ifndef EC_ENABLE_SYNC_IRQ_GPIO
Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 })
+#else
+#define EC_SYNC_IRQ_WAKE_CAPABLE
+#endif
#endif
#ifdef EC_SYNC_IRQ_WAKE_CAPABLE