summaryrefslogtreecommitdiffstats
path: root/sound/soc/loongson/loongson_card.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/loongson/loongson_card.c')
-rw-r--r--sound/soc/loongson/loongson_card.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/loongson/loongson_card.c b/sound/soc/loongson/loongson_card.c
index 08df05cb4328..94f02b787c98 100644
--- a/sound/soc/loongson/loongson_card.c
+++ b/sound/soc/loongson/loongson_card.c
@@ -151,8 +151,8 @@ static int loongson_card_parse_of(struct loongson_card_data *data)
for (i = 0; i < card->num_links; i++)
loongson_dai_links[i].codecs->of_node = args.np;
- snd_soc_of_get_dai_name(cpu, &cpu_dai_name);
- snd_soc_of_get_dai_name(codec, &codec_dai_name);
+ snd_soc_of_get_dai_name(cpu, &cpu_dai_name, 0);
+ snd_soc_of_get_dai_name(codec, &codec_dai_name, 0);
for (i = 0; i < card->num_links; i++) {
loongson_dai_links[i].cpus->dai_name = cpu_dai_name;
loongson_dai_links[i].codecs->dai_name = codec_dai_name;