summaryrefslogtreecommitdiff
path: root/chip/npcx/cec.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/cec.c')
-rw-r--r--chip/npcx/cec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/cec.c b/chip/npcx/cec.c
index e7cd0ae7b9..eb1cfefa0f 100644
--- a/chip/npcx/cec.c
+++ b/chip/npcx/cec.c
@@ -251,7 +251,7 @@ static int cap_charge;
static uint8_t cec_addr = UINT8_MAX;
/* Events to send to AP */
-static uint32_t cec_events;
+static atomic_t cec_events;
/* APB1 frequency. Store divided by 10k to avoid some runtime divisions */
static uint32_t apb1_freq_div_10k;