diff options
author | Hyungwoo Yang <hyungwoo.yang@intel.com> | 2018-10-29 10:16:28 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-23 19:19:34 -0800 |
commit | db9a02ec4110769b7300f45ade770205e70934de (patch) | |
tree | 3b0b45c037f3afc0b4306fa009539be2fbdb4c1c /driver/mag_lis2mdl.c | |
parent | 90b6c047fbfc50b6c85b5a0fd85482b50b131b86 (diff) | |
download | chrome-ec-db9a02ec4110769b7300f45ade770205e70934de.tar.gz |
core/minute-ia: fix atomics
this fixes a few wrong implementation on atomic.
atomic_read_clear() and atomic_clear() were functinally
broken. Due to this, key control flow which rely on these
functions were out of order.
Also modified ATOMIC_OP() and bool_compare_and_swap_u32()
to give more accurate directives to compiler.
BUG=b:119628522
BRANCH=none
TEST=tested on atlas
Change-Id: Ide8397e4f7b754a7094c66326ecc2450ef2f0cc9
Reviewed-on: https://chromium-review.googlesource.com/1305118
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Reviewed-by: Caveh Jalali <caveh@google.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/mag_lis2mdl.c')
0 files changed, 0 insertions, 0 deletions