diff options
author | Mengdong Lin <mengdong.lin@linux.intel.com> | 2016-04-19 07:12:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-20 18:19:24 +0200 |
commit | 305e9020f09d28560373c0112682e6fd11e909f6 (patch) | |
tree | 05654e60ae3982c3655c179356899ccf7e5e83fc /sound | |
parent | Linux 4.6-rc1 (diff) | |
download | linux-305e9020f09d28560373c0112682e6fd11e909f6.tar.xz linux-305e9020f09d28560373c0112682e6fd11e909f6.zip |
ASoC: Export snd_soc_find_dai()
This API can be used by topology to find an existing BE dai by name
and further configure it.
Topology will also check DAI ID to avoid wrong match.
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index d2e62b159610..07663def2db6 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -930,7 +930,7 @@ static struct snd_soc_component *soc_find_component( return NULL; } -static struct snd_soc_dai *snd_soc_find_dai( +struct snd_soc_dai *snd_soc_find_dai( const struct snd_soc_dai_link_component *dlc) { struct snd_soc_component *component; @@ -959,6 +959,7 @@ static struct snd_soc_dai *snd_soc_find_dai( return NULL; } +EXPORT_SYMBOL_GPL(snd_soc_find_dai); static bool soc_is_dai_link_bound(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link) |