diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-06-20 04:14:11 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-20 13:49:22 +0200 |
commit | 3c8b5861850c734add65233e538d4a8c2dff95d9 (patch) | |
tree | ab496b20d9d01d89cf7530b69bd27148f459c1ac /sound/soc/qcom | |
parent | ASoC: soc-core.c: add snd_soc_{of_}get_dlc() (diff) | |
download | linux-3c8b5861850c734add65233e538d4a8c2dff95d9.tar.xz linux-3c8b5861850c734add65233e538d4a8c2dff95d9.zip |
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>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r-- | sound/soc/qcom/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/common.c b/sound/soc/qcom/common.c index cab5a7937a57..d9ebb883b999 100644 --- a/sound/soc/qcom/common.c +++ b/sound/soc/qcom/common.c @@ -105,7 +105,7 @@ int qcom_snd_parse_of(struct snd_soc_card *card) link->cpus->of_node = args.np; link->id = args.args[0]; - ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name); + ret = snd_soc_of_get_dai_name(cpu, &link->cpus->dai_name, 0); if (ret) { dev_err_probe(card->dev, ret, "%s: error getting cpu dai name\n", link->name); |