From 1cb3aa7eca0033f4c3886e8c0b1576d51267b4e5 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Thu, 3 Oct 2024 15:04:10 -0700 Subject: [PATCH] ipc: make config size generally available Right now we are doing a lot of "guess work" based on type enums and context for what size `spec` is. Move towards checking the actual size and trusting that. Signed-off-by: Curtis Malainey --- src/include/sof/audio/component.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/include/sof/audio/component.h b/src/include/sof/audio/component.h index ff6419fa0d56..0b705a7ea79a 100644 --- a/src/include/sof/audio/component.h +++ b/src/include/sof/audio/component.h @@ -558,9 +558,7 @@ struct comp_ipc_config { uint32_t periods_source; /**< 0 means variable */ uint32_t frame_fmt; /**< SOF_IPC_FRAME_ */ uint32_t xrun_action; /**< action we should take on XRUN */ -#if CONFIG_IPC_MAJOR_4 uint32_t ipc_config_size; /**< size of a config received by ipc */ -#endif }; struct comp_perf_data {