summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-10-15 12:59:51 +0900
committerMark Brown <broonie@kernel.org>2019-10-22 19:13:09 +0100
commit5a4c9f054ceeaa90caef033f5a52eca2d7975364 (patch)
tree87b3205bc4a9dd3806cee70d558d9af831770514 /sound/soc/soc-core.c
parent33536a14879515949b065721cdb7fedb276d8e8a (diff)
ASoC: soc-core: snd_soc_unbind_card() cleanup
soc_remove_link_components() will be called from soc_cleanup_card_resources(). This patch removes duplicate call. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/877e5664lz.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index bd2ac1912466..f028a6938ee8 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2446,9 +2446,6 @@ static void snd_soc_unbind_card(struct snd_soc_card *card, bool unregister)
snd_soc_dapm_shutdown(card);
snd_soc_flush_all_delayed_work(card);
- /* remove all components used by DAI links on this card */
- soc_remove_link_components(card);
-
soc_cleanup_card_resources(card);
if (!unregister)
list_add(&card->list, &unbind_card_list);