Skip to content

Commit

Permalink
ipc: make config size generally available
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
cujomalainey committed Oct 3, 2024
1 parent 0a14331 commit 1cb3aa7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/include/sof/audio/component.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1cb3aa7

Please sign in to comment.