UPSTREAM: ASoC: Add kerneldoc comments for snd_soc_find_dai

snd_soc_find_dai() has been exported and so add the kerneldoc comments
for it.

Change-Id: Iaeb085bd8eebc26075558b4db4cfa4fe9d058e83
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit fbb88b5ca1)
This commit is contained in:
Mengdong Lin
2016-04-22 12:25:33 +08:00
committed by Tao Huang
parent 0e9a1da83f
commit 51e355f13b

View File

@@ -880,6 +880,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)
{