diff --git a/src/ipc/ipc-common.c b/src/ipc/ipc-common.c index e9de1efdd2a0..04bb8aef310d 100644 --- a/src/ipc/ipc-common.c +++ b/src/ipc/ipc-common.c @@ -179,7 +179,7 @@ static void schedule_ipc_worker(void) #ifdef __ZEPHYR__ struct ipc *ipc = ipc_get(); - k_work_schedule(&ipc->z_delayed_work, K_USEC(IPC_PERIOD_USEC)); + sof_primary_wq_reschedule(&ipc->z_delayed_work, K_USEC(IPC_PERIOD_USEC)); #endif } @@ -305,6 +305,8 @@ int ipc_init(struct sof *sof) #endif #ifdef __ZEPHYR__ + sof_primary_wq_init(); + k_work_init_delayable(&sof->ipc->z_delayed_work, ipc_work_handler); #endif