Skip to content

Commit

Permalink
ASoC: Add kerneldoc comments for snd_soc_find_dai
Browse files Browse the repository at this point in the history
snd_soc_find_dai() has been exported and so add the kerneldoc comments
for it.

Signed-off-by: Mengdong Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
mengdonglin authored and broonie committed Apr 22, 2016
1 parent 305e902 commit fbb88b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fbb88b5

Please sign in to comment.