]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/sound/soc.h
ASoC: Define API to find a dai link
authorMengdong Lin <mengdong.lin@linux.intel.com>
Wed, 2 Nov 2016 17:04:12 +0000 (01:04 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 17:16:51 +0000 (11:16 -0600)
commit17fb175520e5497d71351aa66a125324fcb625a7
tree1224910f851f3d9ba89818ef6922666c416f578f
parent676c6b5208f7ce6ccc7933ab210f24358ca99a7a
ASoC: Define API to find a dai link

Define the API to find an existing DAI link of the soc card by matching
the ID, name and stream name.

Some cards may use unique ID for each DAI link, so matching ID is enough,
and name or stream name are not necessary. But user need to specify name
or stream name as well if not sure whether link ID is unique since most
cards use 0 as the default link ID.

Topology can use this API to find an existing BE link and configure it.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c