diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-04-19 04:02:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-20 18:25:44 +0200 |
commit | 1a456b1c6be13514a8fc5c1a99e6763f491d17e9 (patch) | |
tree | 0508f4d1ac3a4d1fe11006713445a6f5613f7c1c /include/sound/simple_card_utils.h | |
parent | ASoC: simple-card-utils: Allocate link info structure on heap (diff) | |
download | linux-1a456b1c6be13514a8fc5c1a99e6763f491d17e9.tar.xz linux-1a456b1c6be13514a8fc5c1a99e6763f491d17e9.zip |
ASoC: audio-graph: move audio_graph_card_probe() to simple-card-utils.c
audio-graph-card2 can reuse audio_graph_card_probe().
This patch moves it to simple-card-utils.c.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87zgxv3uc4.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/simple_card_utils.h')
-rw-r--r-- | include/sound/simple_card_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index e318a2d4ac44..656c7e30b6e4 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -178,6 +178,9 @@ int asoc_simple_init_jack(struct snd_soc_card *card, int asoc_simple_init_priv(struct asoc_simple_priv *priv, struct link_info *li); +int asoc_graph_card_probe(struct snd_soc_card *card); + + #ifdef DEBUG static inline void asoc_simple_debug_dai(struct asoc_simple_priv *priv, char *name, |