diff --git a/src/ipc/ipc4/handler.c b/src/ipc/ipc4/handler.c index 35f9361ac117..cd4fd74fd20b 100644 --- a/src/ipc/ipc4/handler.c +++ b/src/ipc/ipc4/handler.c @@ -878,6 +878,10 @@ static int ipc4_module_process_dx(struct ipc4_message_request *ipc4) /* do platform specific suspending */ platform_context_save(sof_get()); +#if !defined(CONFIG_LIBRARY) && defined(CONFIG_CAVS) + arch_irq_lock(); + platform_timer_stop(timer_get()); +#endif ipc_get()->pm_prepare_D3 = 1; }