From 68cd5ef56fbfe111c89c46cce36b7f7337e57eeb Mon Sep 17 00:00:00 2001 From: Serhiy Katsyuba Date: Wed, 13 Sep 2023 14:39:05 +0200 Subject: [PATCH] ipc4: Fix for cross-core buffer creation Bind for components located on different cores is processed on core 0, so buffer is created on core 0, not on its source component core. Signed-off-by: Serhiy Katsyuba --- src/ipc/ipc4/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/ipc4/helper.c b/src/ipc/ipc4/helper.c index 78d05872abbd..b2902c32413b 100644 --- a/src/ipc/ipc4/helper.c +++ b/src/ipc/ipc4/helper.c @@ -331,7 +331,7 @@ static struct comp_buffer *ipc4_create_buffer(struct comp_dev *src, struct comp_ ipc_buf.size = buf_size; ipc_buf.comp.id = IPC4_COMP_ID(src_queue, dst_queue); ipc_buf.comp.pipeline_id = src->ipc_config.pipeline_id; - ipc_buf.comp.core = src->ipc_config.core; + ipc_buf.comp.core = cpu_get_id(); return buffer_new(&ipc_buf); }