summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-11-22 13:39:51 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-11-28 20:55:02 -0800
commita285debf1f1d91ea767d6a79b7109c8c42f6f3f8 (patch)
tree3b3fcdc80f990c41f8c7f1eea63ec565f0f0c9b5 /include/system.h
parented194f7a9afb604c403f399348345ec7c79af306 (diff)
downloadchrome-ec-a285debf1f1d91ea767d6a79b7109c8c42f6f3f8.tar.gz
g: remove sleep disable/enable in rdd
Enabling and disabling sleep in the rdd interrupt is redundant because USB already takes care of that. When USB is initialized it will disable sleep. If it is released or suspended then it will re-enable sleep. This change removes the sleep enable and disable from the rdd interrupt. With this change now sleep can be enabled while suzyq is still plugged in using the command 'ccd disable'. BUG=none BRANCH=none TEST=manual The consoles still work Updating the EC, AP and Cr50 still works After running 'reboot ap-off' in the EC console and 'ccd disable' in the Cr50 console Cr50 will go to sleep. Change-Id: Ie8e6201e9fd611c514e93bc70d298d3b0d228611 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/413606 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/system.h b/include/system.h
index d43d1d54f8..fa16846303 100644
--- a/include/system.h
+++ b/include/system.h
@@ -341,8 +341,6 @@ enum {
SLEEP_MASK_I2C_SLAVE = (1 << 7), /* I2C slave communication ongoing */
SLEEP_MASK_FAN = (1 << 8), /* Fan control loop ongoing */
SLEEP_MASK_USB_DEVICE = (1 << 9), /* Generic USB device in use */
- SLEEP_MASK_RDD = (1 << 10),/* RDD ongoing */
-
SLEEP_MASK_FORCE_NO_DSLEEP = (1 << 15), /* Force disable. */