diff --git a/drivers/timer/cavs_timer.c b/drivers/timer/cavs_timer.c index 2dbb655ffaf..b3ff58ff33b 100644 --- a/drivers/timer/cavs_timer.c +++ b/drivers/timer/cavs_timer.c @@ -36,6 +36,9 @@ static volatile struct soc_dsp_shim_regs *shim_regs = static void set_compare(uint64_t time) { + /* Disarm the comparator to prevent spurious triggers */ + shim_regs->dspwctcs &= ~DSP_WCT_CS_TA(TIMER); + #if (TIMER == 0) /* Set compare register */ shim_regs->dspwct0c = time;