diff --git a/src/schedule/zephyr_domain.c b/src/schedule/zephyr_domain.c index fd6e15cc0919..676e73de5702 100644 --- a/src/schedule/zephyr_domain.c +++ b/src/schedule/zephyr_domain.c @@ -23,7 +23,6 @@ #include #include -#include LOG_MODULE_DECLARE(ll_schedule, CONFIG_SOF_LOG_LEVEL); @@ -112,7 +111,7 @@ static void zephyr_domain_timer_fn(struct k_timer *timer) * registered again next time. */ if (!zephyr_domain) { - z_abort_timeout(&timer->timeout); + k_timer_stop(&timer); return; }