Patch "ASoC: topology: Fix stub for snd_soc_tplg_component_remove()" has been added to the 5.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: topology: Fix stub for snd_soc_tplg_component_remove()

to the 5.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-topology-fix-stub-for-snd_soc_tplg_component_re.patch
and it can be found in the queue-5.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ee3cef54976e90c2ab2ca2f69c61963e71171a07
Author: Mark Brown <broonie@xxxxxxxxxx>
Date:   Mon Oct 25 16:48:44 2021 +0100

    ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
    
    [ Upstream commit 1198ff12cbdd5f42c032cba1d96ebc7af8024cf9 ]
    
    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@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20211025154844.2342120-1-broonie@xxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h
index 4afd667e124c2..3e8a85e1e8094 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;
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux