mbox series

[0/2] ASoC: SOF: ipc4-topology: Correct IPC message struct layouts

Message ID 20231129131411.27516-1-peter.ujfalusi@linux.intel.com
Headers show
Series ASoC: SOF: ipc4-topology: Correct IPC message struct layouts | expand

Message

Peter Ujfalusi Nov. 29, 2023, 1:14 p.m. UTC
Hi,

The SRC and GAIN module defined it's kernel side private struct in a way that
part of that is used as IPC message without making sure of proper alignment and
padding, which happens to work but it is better to be not 'clever' about these
sort of things.

The two patch corects this overlooked detail.

Regards,
Peter
---
Peter Ujfalusi (2):
  ASoC: SOF: ipc4-topology: Correct data structures for the SRC module
  ASoC: SOF: ipc4-topology: Correct data structures for the GAIN module

 sound/soc/sof/ipc4-control.c  | 20 +++++++-------
 sound/soc/sof/ipc4-topology.c | 52 +++++++++++++++++------------------
 sound/soc/sof/ipc4-topology.h | 34 +++++++++++++++++------
 3 files changed, 61 insertions(+), 45 deletions(-)