ASoC: soc-core.c: add index on snd_soc_of_get_dai_name()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Jun 2023 02:14:11 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 11:49:22 +0000 (12:49 +0100)
commit3c8b5861850c734add65233e538d4a8c2dff95d9
treeab496b20d9d01d89cf7530b69bd27148f459c1ac
parent05722a0ce6fbd1c603ec0f0ecb5ed839dd561ac7
ASoC: soc-core.c: add index on snd_soc_of_get_dai_name()

Current snd_soc_of_get_dai_name() doesn't accept index
for #sound-dai-cells. It is not useful for user.
This patch adds it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87pm5qdgng.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/fsl/imx-card.c
sound/soc/generic/simple-card.c
sound/soc/loongson/loongson_card.c
sound/soc/mediatek/mt8173/mt8173-rt5650.c
sound/soc/qcom/common.c
sound/soc/soc-core.c