]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits
authorJyri Sarha <jyri.sarha@linux.intel.com>
Thu, 7 Nov 2024 13:28:40 +0000 (15:28 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Nov 2024 15:35:52 +0000 (15:35 +0000)
commit48b86532c10128cf50c854a90c2d5b1410f4012d
treec3107b27a8c36e5ffc4dbebbb659eff635c8fe4f
parent23569c8b314925bdb70dd1a7b63cfe6100868315
ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits

Write the size of the optional payload of SOF_IPC4_MOD_INIT_INSTANCE
message to extension param_size-bits.

The previous IPC4 version does not set these bits that should indicate
the size of the optional payload (struct sof_ipc4_probe_cfg). The old
firmware side component code works well without these bits, but when
the probes are converted to use the generic module API, this does not
work anymore.

Fixes: f5623593060f ("ASoC: SOF: IPC4: probes: Implement IPC4 ops for probes client device")
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20241107132840.17386-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client-probes-ipc4.c