mirror of https://github.com/thesofproject/sof.git
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 <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
2a7a94d238
commit
e32329a03f
|
@ -23,7 +23,6 @@
|
|||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys_clock.h>
|
||||
#include <zephyr/timeout_q.h>
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue