From 767702f320f1ccb75ab2fbe85c8345e26105ff11 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Tue, 1 Aug 2023 15:45:15 +0100 Subject: [PATCH] ipc4: ipc atomic state should be reset after timeout. reset the atomic ipc4 message delay state after any timeout error. Signed-off-by: Liam Girdwood --- src/ipc/ipc4/handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipc/ipc4/handler.c b/src/ipc/ipc4/handler.c index 3ecc5d098d02..bddf37d3e2fb 100644 --- a/src/ipc/ipc4/handler.c +++ b/src/ipc/ipc4/handler.c @@ -405,6 +405,7 @@ static int ipc_wait_for_compound_msg(void) k_sleep(Z_TIMEOUT_MS(10)); if (!try_count--) { + atomic_set(&msg_data.delayed_reply, 0); ipc_cmd_err(&ipc_tr, "ipc4: failed to wait schedule thread"); return IPC4_FAILURE; }