From 2947a5ad70a6d6401ef5e54364a7447a5593d1cc Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Mon, 4 Sep 2023 19:41:46 +0300 Subject: [PATCH] zephyr: ll-schedule: stop using zephyr/timeout_q.h Replace the call to z_abort_timeout() to be able to drop dependency to timeout_q.h. This header is intended to be Zephyr kernel private and plan is to remove this. Signed-off-by: Kai Vehmanen --- src/schedule/zephyr_domain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }