ASoC: soc-pcm: add soc_cpu/codec_dai_name() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 9 Mar 2021 01:07:48 +0000 (10:07 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 12 Mar 2021 14:26:26 +0000 (14:26 +0000)
commit6fb8944cd2892e018d13955c2d51579a30744904
treef86f9fb836e18299dfd31fd6bd603e16596beeb9
parentf8fc9ec56f341c2a7aa263049340b11c9956962f
ASoC: soc-pcm: add soc_cpu/codec_dai_name() macro

soc-pcm needs DAI name and it will be "multicpu/multicodec" if it has
many DAIs. But current code is using very verbose for it.
This patch uses macro and makes code simple.

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