diff mbox series

ASoC: topology: Fix stub for snd_soc_tplg_component_remove()

Message ID 20211025154844.2342120-1-broonie@kernel.org (mailing list archive)
State Accepted
Commit 1198ff12cbdd5f42c032cba1d96ebc7af8024cf9
Headers show
Series ASoC: topology: Fix stub for snd_soc_tplg_component_remove() | expand

Commit Message

Mark Brown Oct. 25, 2021, 3:48 p.m. UTC
When removing the index argument from snd_soc_topology_component_remove()
commit a5b8f71c5477f (ASoC: topology: Remove multistep topology loading)
forgot to update the stub for !SND_SOC_TOPOLOGY use, causing build failures
for anything that tries to make use of it.

Fixes: a5b8f71c5477f (ASoC: topology: Remove multistep topology loading)
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 include/sound/soc-topology.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Brown Oct. 25, 2021, 7:40 p.m. UTC | #1
On Mon, 25 Oct 2021 16:48:44 +0100, Mark Brown wrote:
> When removing the index argument from snd_soc_topology_component_remove()
> commit a5b8f71c5477f (ASoC: topology: Remove multistep topology loading)
> forgot to update the stub for !SND_SOC_TOPOLOGY use, causing build failures
> for anything that tries to make use of it.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
      commit: 1198ff12cbdd5f42c032cba1d96ebc7af8024cf9

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
diff mbox series

Patch

diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h
index 7f33de8ffd95..b4b896f83b94 100644
--- a/include/sound/soc-topology.h
+++ b/include/sound/soc-topology.h
@@ -188,8 +188,7 @@  int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,
 
 #else
 
-static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp,
-						u32 index)
+static inline int snd_soc_tplg_component_remove(struct snd_soc_component *comp)
 {
 	return 0;
 }