Skip to contentSkip to conversation

ASoC: SOF: remove duplicate code due to merge

PATCH In review Pierre-Louis Bossart 3 participants 3 messages Aug 14, 2023 – Aug 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: SOF: remove duplicate code due to merge

Commit 81113108491e ("ASoC: Merge up fixes") added the same code twice, remove the extra call.

---
 sound/soc/sof/ipc4-topology.c | 3 ---
 1 file changed, 3 deletions(-)
sound/soc/sof/ipc4-topology.c +0 -3
index b43663822613..633f6040d712 100644
@@ -1734,9 +1734,6 @@ sof_ipc4_prepare_copier_module(struct snd_sof_widget *swidget,
 	/* update pipeline memory usage */
 	sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
 
-	/* update pipeline memory usage */
-	sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
-
 	/* copy IPC data */
 	memcpy(*ipc_config_data, (void *)copier_data, sizeof(*copier_data));
 	if (gtw_cfg_config_length)
Signature · 1 line
2.39.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Pierre-Louis Bossart

Commit 81113108491e ("ASoC: Merge up fixes") added the same code twice, remove the extra call.

Quoted 19 lines
---
 sound/soc/sof/ipc4-topology.c | 3 ---
 1 file changed, 3 deletions(-)
sound/soc/sof/ipc4-topology.c +0 -3
index b43663822613..633f6040d712 100644
@@ -1734,9 +1734,6 @@ sof_ipc4_prepare_copier_module(struct snd_sof_widget *swidget,
 	/* update pipeline memory usage */
 	sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
 
-	/* update pipeline memory usage */
-	sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
-
 	/* copy IPC data */
 	memcpy(*ipc_config_data, (void *)copier_data, sizeof(*copier_data));
 	if (gtw_cfg_config_length)
Signature · 1 line
Péter
maintainer
#2 lore raw
In reply to Pierre-Louis Bossart
Quoted 4 lines · Pierre-Louis Bossart

Commit 81113108491e ("ASoC: Merge up fixes") added the same code twice, remove the extra call.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: remove duplicate code due to merge

      commit: c5556d8651b4c58e0d9894be5a0188c9c90ce899

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