From a285debf1f1d91ea767d6a79b7109c8c42f6f3f8 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 22 Nov 2016 13:39:51 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/413606 Reviewed-by: Bill Richardson --- include/system.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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. */ -- cgit v1.2.1