]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0a9f856463b765cfd0285d3f0359c9bc091ed8d
treef86f9fb836e18299dfd31fd6bd603e16596beeb9
parent22afc0733e923c8c5819f80689d18bdfd28c9621
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