diff options
author | Duncan Laurie <dlaurie@google.com> | 2020-06-09 15:13:15 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2020-06-17 19:46:36 +0000 |
commit | 3cd3cb6f33cbbd18f9acac01ca5008e2dfb76242 (patch) | |
tree | ca4d89d23292321b7b57cb1f57c57b6a982ba58a /src/lib/gpio.c | |
parent | 6f2f2368623567ff5915e1a53c5be0ea5b909f76 (diff) |
ec/google/wilco: Suppress UCSI events in S0ix
If a UCSI event comes in when the EC is in S0ix mode then the kernel
driver attempts a transaction but fails and this can leave the system
in an unexpected state where the only wake source is the power button.
This change will not notify the UCSI driver if the EC is in S0ix mode
and instead keep track of the event and send it on resume.
BUG=b:157923800
TEST=tested on drallion system:
1. Put drallion system into suspend
2. Attach power supply
3. Ensure the system can wake with keypress
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: I43acb089385d9b41ac955f053e409daad67423f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/lib/gpio.c')
0 files changed, 0 insertions, 0 deletions