ASoC: Add kerneldoc comments for snd_soc_find_dai
[sfrench/cifs-2.6.git] / sound / soc / soc-core.c
index 07663def2db6509dc5390f899fc4dfa88dc0532a..16369cad480388c326f2463273e17ebef0324924 100644 (file)
@@ -930,6 +930,17 @@ static struct snd_soc_component *soc_find_component(
        return NULL;
 }
 
+/**
+ * snd_soc_find_dai - Find a registered DAI
+ *
+ * @dlc: name of the DAI and optional component info to match
+ *
+ * This function will search all regsitered components and their DAIs to
+ * find the DAI of the same name. The component's of_node and name
+ * should also match if being specified.
+ *
+ * Return: pointer of DAI, or NULL if not found.
+ */
 struct snd_soc_dai *snd_soc_find_dai(
        const struct snd_soc_dai_link_component *dlc)
 {