]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: ipc4-topology: Use macro to set the EXT_PARAM_SIZE in widget setup
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 13 Dec 2024 13:21:10 +0000 (15:21 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 13 Dec 2024 13:25:51 +0000 (13:25 +0000)
commite4b3a8456447f0e10223ebaca81efabe8a71f3f2
treebc27a82f19a0578f2ee2415c9c94e247e64c5a24
parent3ce8df13f65e3ed297def63bb1e3ee6f024cbdc5
ASoC: SOF: ipc4-topology: Use macro to set the EXT_PARAM_SIZE in widget setup

Use the SOF_IPC4_MOD_EXT_PARAM_SIZE() macro to set the param size in the
extension part of the IPC message for clarity.

No Functional change as the PARMA_SIZE offset is at 0.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20241213132110.27800-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c