summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-06-24 13:31:58 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-25 02:11:56 +0000
commit4fd15f8d917719e5f034397c2b92ff318f4b7ee4 (patch)
tree760a1b0ee989edf8fe638673e067bfad1226c80c /include
parentcbb79c255806d25e7d6c6d0f36597cd48caf6710 (diff)
downloadchrome-ec-4fd15f8d917719e5f034397c2b92ff318f4b7ee4.tar.gz
power: ryu: ignore lid open events
Do not start the AP on lid open events, in order to avoid spurious startup due to magnet magic. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:41601 TEST=Play with 2 Ryu EVT2 stacked one on top of the other. Change-Id: I530d54f61d0674caddf20d1b17268c971f639f2f Reviewed-on: https://chromium-review.googlesource.com/281667 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 46aed17057..208a19957c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1059,6 +1059,9 @@
/* Compile common code for AP power state machine */
#undef CONFIG_POWER_COMMON
+/* Disable the power-on transition when the lid is opened */
+#undef CONFIG_POWER_IGNORE_LID_OPEN
+
/* Support stopping in S5 on shutdown */
#undef CONFIG_POWER_SHUTDOWN_PAUSE_IN_S5