ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Jun 2023 02:18:10 +0000 (02:18 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:50:54 +0000 (22:50 +0100)
commit521d675d2497f890e881dc48e954a1559460e97c
treed806993addfd4707f52eaa2581c4ac500b46cb81
parent2b48d170fb9965dda9d41edcb0bbfc9ee4c6584f
ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id()

Current snd_soc_get_dai_id() is initializing dlc *manually*,
but it will might be a problem if dlc had new extra parameter.
This patch uses default initialization, otherwise, non initialized
part will be strange value.
This is prepare for multi Component support.

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