diff options
Diffstat (limited to 'common/chipset_haswell.c')
-rw-r--r-- | common/chipset_haswell.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/chipset_haswell.c b/common/chipset_haswell.c index b92bbbf5ce..6bc4b3283d 100644 --- a/common/chipset_haswell.c +++ b/common/chipset_haswell.c @@ -282,6 +282,12 @@ enum x86_state x86_handle_state(enum x86_state state) /* Call hooks now that rails are up */ hook_notify(HOOK_CHIPSET_RESUME); + /* + * Disable idle task deep sleep. This means that the low + * power idle task will not go into deep sleep while in S0. + */ + disable_sleep(SLEEP_MASK_AP_RUN); + /* Wait 99ms after all voltages good */ msleep(99); @@ -314,6 +320,12 @@ enum x86_state x86_handle_state(enum x86_state state) wireless_enable(0); /* + * Enable idle task deep sleep. Allow the low power idle task + * to go into deep sleep in S3 or lower. + */ + enable_sleep(SLEEP_MASK_AP_RUN); + + /* * Deassert prochot since CPU is off and we're about to drop * +VCCP. */ |