ASoC: soc-core.c: add snd_soc_copy_dai_args()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 10 Jul 2023 01:20:17 +0000 (10:20 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2023 05:15:46 +0000 (06:15 +0100)
commitbbde4a30c6b18dd034dcce41612907dc64817175
tree674f876bf81016b7a1d22e1816d6c1eff0e0733a
parent988bad5ee4d7138d26081f3661779b63725605d8
ASoC: soc-core.c: add snd_soc_copy_dai_args()

To use multi Component support, we need to check dai_args whether
Card could get DAI from args (CPU/Codec needs set dai_args on DAI driver).
If it could, we need to allocate dai_args for dlc.
This patch adds snd_soc_copy_dai_args() for it.

This is helper function for multi Component support.

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