Commit 0814c641 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: qcom: don't select unnecessary Platform

ALSA SoC is now supporting "no Platform". Sound card doesn't need to
select "CPU component" as "Platform" anymore if it doesn't need
special Platform.
This patch removes such settings.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6f043744
...@@ -103,7 +103,9 @@ int qcom_snd_parse_of(struct snd_soc_card *card) ...@@ -103,7 +103,9 @@ int qcom_snd_parse_of(struct snd_soc_card *card)
link->codecs = dlc; link->codecs = dlc;
link->num_codecs = 1; link->num_codecs = 1;
link->platforms->of_node = link->cpus->of_node; link->platforms = NULL;
link->num_platforms = 0;
link->codecs->dai_name = "snd-soc-dummy-dai"; link->codecs->dai_name = "snd-soc-dummy-dai";
link->codecs->name = "snd-soc-dummy"; link->codecs->name = "snd-soc-dummy";
link->dynamic = 1; link->dynamic = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment