summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-01-07 11:49:03 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-08 00:38:05 +0000
commit5062e5a1714f9a90ffc3227a280bf8d793cdfc83 (patch)
treea96f06001c7174932c1b174f8aad29927d6688b1
parent9c316b740b68f290c1a629b49f959d17b3c0b897 (diff)
downloadchrome-ec-5062e5a1714f9a90ffc3227a280bf8d793cdfc83.tar.gz
lm4: Increase time to wake up from deep sleep
The recent change to decrease the time to wake up from deep sleep when not using LFIOSC was too agressive. Increase the time to wake up based upon the worst observed case. BUG=chrome-os-partner:35184 TEST=Manual on Samus. Go to deep sleep, verify that no "overslept by Xus" prints are seen. BRANCH=Samus Change-Id: Ib9fe2eba5e29a112e03fffaedbc5ae53d6d650ff Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/239242 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--chip/lm4/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/clock.c b/chip/lm4/clock.c
index 5141a00f7b..b8029f5d27 100644
--- a/chip/lm4/clock.c
+++ b/chip/lm4/clock.c
@@ -37,9 +37,9 @@
#else
/*
* Length of time for the processor to wake up from deep sleep. Datasheet
- * maximum is 145us, but in practice have seen as much as 215us.
+ * maximum is 145us, but in practice have seen as much as 336us.
*/
-#define DEEP_SLEEP_RECOVER_TIME_USEC 300
+#define DEEP_SLEEP_RECOVER_TIME_USEC 400
#endif
/* Low power idle statistics */