diff options
author | Ravi Chandra Sadineni <ravisadineni@chromium.org> | 2019-10-24 12:55:22 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-11 19:11:13 +0000 |
commit | 9f151350684fee0ac14deed0ce31ddfd520b2a36 (patch) | |
tree | 1489730e0fddfe3c3354ed2a65c2304c6a9909d3 /test/motion_sense_fifo.tasklist | |
parent | 62c9985607287f4994fb6657a65a0075ae54756e (diff) | |
download | chrome-ec-9f151350684fee0ac14deed0ce31ddfd520b2a36.tar.gz |
EC: Do not clear wake only events on resume from S3.
On path to S3, coreboot sets SCI and SMI mask to 0. It also sets
appropriate wake mask. It then clears all pending events so as to
prevent early wake (chromeec_smi_sleep). Thus the current resume
hook to clear non SCI/SMI events would clear all events when
resuming from S3 as SCI/SMI mask are set to zero. This change
thus fixes the same.
BUG=b:65976859
BRANCH=NONE
TEST=Tested suspend/resume with wakeup count on grunt.
Change-Id: Iea7652d1bdd122c2e66f52e2d8d0a6b7f2854c22
Signed-off-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1879517
Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'test/motion_sense_fifo.tasklist')
0 files changed, 0 insertions, 0 deletions