summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/e350m1/platform_cfg.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-02-18 16:06:04 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-02-24 12:45:48 +0000
commit0868f964398e401c7c100627e6c2d713699772a0 (patch)
treee848a3f7a17d23d3e98c97ad53f6b8666735451a /src/mainboard/asrock/e350m1/platform_cfg.h
parent96eceba31424a97c183a8111a039fba342565dba (diff)
mb/google/{auron,slippy}/ec: clear pending events on S3 wakeup
Commit 6ae8b50 [chromeec: Depend on events_copy_b to identify wake source] partially broke resume from suspend on Auron and Slippy variants when multiple events exist in the EC event queue. In the case of the device suspending manually and then subsequently having the lid closed, the device will be stuck in a resume/suspend/resume loop until the device is forcibly powered down. Mitigate this by clearing any pending EC events on S3 wakeup. Test: build/boot several Auron/Slippy variants, test suspend/resume functional with both single and multiple events in EC event queue. Change-Id: I7ec9ec575d41c5b7522c4e13fc32b0b7c77d20d9 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38984 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/asrock/e350m1/platform_cfg.h')
0 files changed, 0 insertions, 0 deletions