]> 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)
commit8c507d87b9685268f17b58af35e38927f2e25060
treef86f9fb836e18299dfd31fd6bd603e16596beeb9
parent81e77284026c32e58a830b4a873305f6338dbfe2
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