diff options
-rw-r--r-- | sound/soc/soc-core.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 07663def2db6..16369cad4803 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -930,6 +930,17 @@ static struct snd_soc_component *soc_find_component( | |||
930 | return NULL; | 930 | return NULL; |
931 | } | 931 | } |
932 | 932 | ||
933 | /** | ||
934 | * snd_soc_find_dai - Find a registered DAI | ||
935 | * | ||
936 | * @dlc: name of the DAI and optional component info to match | ||
937 | * | ||
938 | * This function will search all regsitered components and their DAIs to | ||
939 | * find the DAI of the same name. The component's of_node and name | ||
940 | * should also match if being specified. | ||
941 | * | ||
942 | * Return: pointer of DAI, or NULL if not found. | ||
943 | */ | ||
933 | struct snd_soc_dai *snd_soc_find_dai( | 944 | struct snd_soc_dai *snd_soc_find_dai( |
934 | const struct snd_soc_dai_link_component *dlc) | 945 | const struct snd_soc_dai_link_component *dlc) |
935 | { | 946 | { |