ASoC: soc-dai.c: add DAI get/match functions
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 10 Jul 2023 01:19:53 +0000 (10:19 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2023 05:15:42 +0000 (06:15 +0100)
commit09f75f098105d65c37915e41a6ed3a75ec3ecfc7
treef7f698837b4e78e5e46a559e124309ee3ab928d8
parent083912c240de0c5f797da0443f5a99e87b75fcb3
ASoC: soc-dai.c: add DAI get/match functions

Current ASoC is specifying and checking DAI name.
But where it came from and how to check was ambiguous.
This patch adds snd_soc_dai_name_get() / snd_soc_dlc_dai_is_match()
and makes it clear.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h6qco952.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/soc-core.c