diff options
author | Mengdong Lin <mengdong.lin@linux.intel.com> | 2016-04-19 13:12:25 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-20 17:19:24 +0100 |
commit | 305e9020f09d28560373c0112682e6fd11e909f6 (patch) | |
tree | 05654e60ae3982c3655c179356899ccf7e5e83fc /include/sound/soc.h | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | linux-stable-305e9020f09d28560373c0112682e6fd11e909f6.tar.gz linux-stable-305e9020f09d28560373c0112682e6fd11e909f6.tar.bz2 linux-stable-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 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 02b4a215fd75..7687e2d4b0e4 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1683,6 +1683,9 @@ void snd_soc_remove_dai_link(struct snd_soc_card *card, int snd_soc_register_dai(struct snd_soc_component *component, struct snd_soc_dai_driver *dai_drv); +struct snd_soc_dai *snd_soc_find_dai( + const struct snd_soc_dai_link_component *dlc); + #include <sound/soc-dai.h> #ifdef CONFIG_DEBUG_FS |