summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-03-18 10:15:17 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-03-18 20:35:24 +0000
commitb81c9779140fb19ec9d5d7150f1b0335a6dfce36 (patch)
treef4132fa7b61d16fab68901ac596d75aadcb40888 /power
parentfa9f407a66e10b4871d02b118952a9b0ac7e3263 (diff)
downloadchrome-ec-b81c9779140fb19ec9d5d7150f1b0335a6dfce36.tar.gz
baytrail: Increase time after all voltages good to 15 ms
We had decreased this from 100 ms to 5 ms, but apparently we need at least 10 ms. Use 15 ms to give us some margin. BUG=chrome-os-partner:25264 BRANCH=rambi TEST=boot system Change-Id: I4d96aeb1040a042bac46fa8701a073d3355bfd2a Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190485 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/baytrail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/power/baytrail.c b/power/baytrail.c
index 5349045520..d4c5fb1d1a 100644
--- a/power/baytrail.c
+++ b/power/baytrail.c
@@ -268,10 +268,10 @@ enum power_state power_handle_state(enum power_state state)
disable_sleep(SLEEP_MASK_AP_RUN);
/*
- * Wait 5 ms after all voltages good. 100 ms is only needed
- * for PCIe devices; mini-PCIe devices should need only 1 ms.
+ * Wait 15 ms after all voltages good. 100 ms is only needed
+ * for PCIe devices; mini-PCIe devices should need only 10 ms.
*/
- msleep(5);
+ msleep(15);
/*
* Throttle CPU if necessary. This should only be asserted