diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-04-25 10:14:23 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-29 03:10:59 +0000 |
commit | 5aeff69cdcf2c8ed897340c432afcc8a1284b939 (patch) | |
tree | c3195246ba5ff9ad47b3e4092902e682f9fe0470 /driver | |
parent | 564fced7b8c424aadb29f069e98d5ec20d01b552 (diff) | |
download | chrome-ec-5aeff69cdcf2c8ed897340c432afcc8a1284b939.tar.gz |
zinger: remove race condition in event handling
In the micro runtime for Zinger, wait for events with interrupt disabled
to avoid race conditions where the event interrupt happens just after we
tested it and before going to sleep.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=make BOARD=zinger, test Zinger PD communication from Firefly.
Change-Id: I10b919450a61fac7ea50e84dd73bcc568150e179
Reviewed-on: https://chromium-review.googlesource.com/197051
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions