ASoC: SOF: ipc4-topology: Use macro to set the EXT_PARAM_SIZE in widget setup
Subsystems (3)
Peter Ujfalusi
maintainerPATCH 1/1 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.
--- sound/soc/sof/ipc4-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/ipc4-topology.c +1 -1
@@ -2827,7 +2827,7 @@ static int sof_ipc4_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget msg->primary |=SOF_IPC4_MOD_INSTANCE (swidget->instance_id); msg->extension &= ~SOF_IPC4_MOD_EXT_PARAM_SIZE_MASK ; - msg->extension |= ipc_size >>2 ; + msg->extension |=SOF_IPC4_MOD_EXT_PARAM_SIZE (ipc_size >>2 ); msg->extension &= ~SOF_IPC4_MOD_EXT_PPL_ID_MASK ; msg->extension |=SOF_IPC4_MOD_EXT_PPL_ID (pipe_widget->instance_id);
Signature · 1 line
2.47.1
Mark Brown
maintainerQuoted 6 lines · Peter Ujfalusi
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_SIZEoffset is at 0.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: ipc4-topology: Use macro to set the EXT_PARAM_SIZE in widget setup
commit: e4b3a8456447f0e10223ebaca81efabe8a71f3f2
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark