snd_soc_find_dai(9) Find a registered DAI

SYNOPSIS

struct snd_soc_dai * snd_soc_find_dai(const struct snd_soc_dai_link_component * dlc);

ARGUMENTS

dlc

name of the DAI and optional component info to match

DESCRIPTION

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.

COPYRIGHT