diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2021-10-31 17:57:07 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-03 01:06:49 +0000 |
commit | fc78be657fbfc913ac5cd2441b566fd7de7b9fda (patch) | |
tree | e102ef8d917c8bbab923504bc19c0415330e2a34 /chip/npcx/flash.c | |
parent | d1275d73707dd0020ac0c5dc2a6a7769cdc7b188 (diff) | |
download | chrome-ec-fc78be657fbfc913ac5cd2441b566fd7de7b9fda.tar.gz |
CEC: move mkbp event to the cec task
The interrupt context can't call the function
which contains the mutex. In order to fix this
problem, we move the send_mkbp_event to the
task level and add two events TASK_EVENT_OKAY,
TASK_EVENT_FAILED to indicated the okay/failed
event.
BUG=b:204138787
BRANCH=None
TEST=`cec-ctl --playback -S -d 0` without ec crash
Change-Id: Ifae592c2161e78cd2a1be4af6e0a30b615ae9f37
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3251219
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'chip/npcx/flash.c')
0 files changed, 0 insertions, 0 deletions