summaryrefslogtreecommitdiff
path: root/include/sound/soc-card.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-28 04:50:46 +0300
committerMark Brown <broonie@kernel.org>2020-05-30 04:11:42 +0300
commitfcbbcc325bc2dd90212de19b520c190b6fbeddae (patch)
treed8f9d00382c863e7fa5c4d32e0da15a9405c5ed9 /include/sound/soc-card.h
parentcbc7a6b5a87a129084c643455d16699ea490fd2f (diff)
downloadlinux-fcbbcc325bc2dd90212de19b520c190b6fbeddae.tar.xz
ASoC: soc-card: add snd_soc_card_remove_dai_link()
Card related function should be implemented at soc-card now. This patch adds it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/87mu5szv2h.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-card.h')
-rw-r--r--include/sound/soc-card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-card.h b/include/sound/soc-card.h
index f7e5c0ec5dc5..4f2cc4fb56b7 100644
--- a/include/sound/soc-card.h
+++ b/include/sound/soc-card.h
@@ -37,6 +37,8 @@ int snd_soc_card_set_bias_level_post(struct snd_soc_card *card,
int snd_soc_card_add_dai_link(struct snd_soc_card *card,
struct snd_soc_dai_link *dai_link);
+void snd_soc_card_remove_dai_link(struct snd_soc_card *card,
+ struct snd_soc_dai_link *dai_link);
/* device driver data */
static inline void snd_soc_card_set_drvdata(struct snd_soc_card *card,