ASoC: soc-core: Merge CPU/Codec for soc_dai_pcm_new()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Mar 2020 06:37:20 +0000 (15:37 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 20 Mar 2020 20:45:35 +0000 (20:45 +0000)
commitd1eb6d116123b2bcebeefce8bcdc828c80b033b8
tree15a3ac87a0d0e1d0dc8b88a64f61ba54839dd11c
parentc840f7698d26b078695dbc863ccb6a14ca765f98
ASoC: soc-core: Merge CPU/Codec for soc_dai_pcm_new()

Now CPU/Codec DAIs are alias for dais.
Thus, we can directly use for_each_rtd_dais() macro
for soc_dai_pcm_new().
This patch merge CPU/Codec for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/87r1xsolen.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c