summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 8e1d79fc8b..f8d4bdf828 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -147,6 +147,12 @@ Device (EC0)
{
// Initialize AC power state
Store (ACEX, \PWRS)
+ /*
+ * Inform platform code about the current AC power state.
+ * This allows the platform to take any action based on the initialized state.
+ * PWRS isn't valid before this point.
+ */
+ \PNOT ()
// Initialize LID switch state
Store (LIDS, \LIDS)