ASoC: soc-card: add snd_soc_card_add_dai_link()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 28 May 2020 01:50:41 +0000 (10:50 +0900)
committerMark Brown <broonie@kernel.org>
Sat, 30 May 2020 01:11:41 +0000 (02:11 +0100)
commitcbc7a6b5a87a129084c643455d16699ea490fd2f
treeb474a84aac20d008327d998f3065024ef7d2112c
parentd41278ea0579a8c1e216c5321e2d207705ab3b54
ASoC: soc-card: add snd_soc_card_add_dai_link()

Card related function should be implemented at soc-card now.
This patch adds it.

This patch adds missing return when error case.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87o8q8zv2m.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-card.h
sound/soc/soc-card.c
sound/soc/soc-core.c