ASoC: topology: Fix SND_SOC_TPLG_INDEX_ALL for freeing soc topology.
PATCH 1/1 ASoC: topology: Fix SND_SOC_TPLG_INDEX_ALL for freeing soc topology.
From: Yan Wang <[email protected]>
In snd_soc_tplg_component_remove(), it should compare index and not dobj->index with SND_SOC_TPLG_INDEX_ALL for removing all topology objects.
--- sound/soc/soc-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-topology.c +1 -1
@@ -2597,7 +2597,7 @@ int snd_soc_tplg_component_remove(struct snd_soc_component *comp, u32 index)/* match index */ if (dobj->index != index && - dobj->index !=SND_SOC_TPLG_INDEX_ALL ) + index !=SND_SOC_TPLG_INDEX_ALL )continue ;switch (dobj->type) {
Signature · 1 line
2.14.1
Mark Brown
maintainerQuoted 8 lines · Liam Girdwood
From: Yan Wang <[email protected]>
In
snd_soc_tplg_component_remove(), it should compare index and notdobj->indexwithSND_SOC_TPLG_INDEX_ALLfor removing all topology objects.Signed-off-by Yan Wang <[email protected]>---
This is missing your signoff...
Mark Brown
maintainerApplied "ASoC: topology: Fix bugs of freeing soc topology" to the asoc tree
In reply to Liam GirdwoodThe patch
ASoC: topology: Fix bugs of freeing soc topology
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
feb12f0cd8d7b1e8df2e6fce19fc9a026a468cc2Mon Sep 17 00:00:00 2001
From: Yan Wang <[email protected]>
Date: Mon, 26 Mar 2018 16:48:00 +0100
Subject: [PATCH] ASoC: topology: Fix bugs of freeing soc topology
In snd_soc_tplg_component_remove(), it should compare index and not dobj->index with SND_SOC_TPLG_INDEX_ALL for removing all topology objects.
--- sound/soc/soc-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-topology.c +1 -1
@@ -2580,7 +2580,7 @@ int snd_soc_tplg_component_remove(struct snd_soc_component *comp, u32 index)/* match index */ if (dobj->index != index && - dobj->index !=SND_SOC_TPLG_INDEX_ALL ) + index !=SND_SOC_TPLG_INDEX_ALL )continue ;switch (dobj->type) {
Signature · 1 line
2.17.0
Mark Brown
maintainerApplied "ASoC: topology: Fix bugs of freeing soc topology" to the asoc tree
In reply to Liam GirdwoodThe patch
ASoC: topology: Fix bugs of freeing soc topology
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
feb12f0cd8d7b1e8df2e6fce19fc9a026a468cc2Mon Sep 17 00:00:00 2001
From: Yan Wang <[email protected]>
Date: Mon, 26 Mar 2018 16:48:00 +0100
Subject: [PATCH] ASoC: topology: Fix bugs of freeing soc topology
In snd_soc_tplg_component_remove(), it should compare index and not dobj->index with SND_SOC_TPLG_INDEX_ALL for removing all topology objects.
--- sound/soc/soc-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-topology.c +1 -1
@@ -2580,7 +2580,7 @@ int snd_soc_tplg_component_remove(struct snd_soc_component *comp, u32 index)/* match index */ if (dobj->index != index && - dobj->index !=SND_SOC_TPLG_INDEX_ALL ) + index !=SND_SOC_TPLG_INDEX_ALL )continue ;switch (dobj->type) {
Signature · 1 line
2.17.0