diff options
author | Yilun Lin <yllin@google.com> | 2019-07-11 16:13:50 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-17 11:11:37 +0000 |
commit | 03ca813082a84001ce5e78c81da841a60c234975 (patch) | |
tree | 0da8aaf64190e5f357a504f9c2fd534e82cc5d8e /driver/accel_lis2dh.c | |
parent | 1445108e8e2e34383a2df5efd30157526a905577 (diff) | |
download | chrome-ec-03ca813082a84001ce5e78c81da841a60c234975.tar.gz |
mt_scp: Trigger IRQ if has pending IPC when re-enable SCP_IRQ_IPC0.
Prevent a starved waiting IPC.
IPC may be requested while SCP_IRQ_IPC0 is disabled, and this may
result in AP dead waiting for a reply from SCP. This CL forces
triggering the SCP_IRQ_IPC0 if seeing a pending IPC when re-enable
the SCP_IRQ_IPC0.
TEST=run factory front_camera_test for over 1 hr and see AP doesn't
complains HC not respsonsed.
BUG=b:136809224, b:136616282
BRANCH=None
Change-Id: Ic36da774994f6c571c3b79fd6717562f8866b7df
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1697884
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Yilun Lin <yllin@chromium.org>
Tested-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'driver/accel_lis2dh.c')
0 files changed, 0 insertions, 0 deletions