Commit e8776ff9 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: sof: use snd_soc_dummy_dlc

We already have snd_soc_dummy_dlc.
Let's use it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://msgid.link/r/8734vy93r8.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c2dfe29f
...@@ -381,8 +381,6 @@ static const struct snd_soc_component_driver sof_probes_component = { ...@@ -381,8 +381,6 @@ static const struct snd_soc_component_driver sof_probes_component = {
.legacy_dai_naming = 1, .legacy_dai_naming = 1,
}; };
SND_SOC_DAILINK_DEF(dummy, DAILINK_COMP_ARRAY(COMP_DUMMY()));
static int sof_probes_client_probe(struct auxiliary_device *auxdev, static int sof_probes_client_probe(struct auxiliary_device *auxdev,
const struct auxiliary_device_id *id) const struct auxiliary_device_id *id)
{ {
...@@ -475,7 +473,7 @@ static int sof_probes_client_probe(struct auxiliary_device *auxdev, ...@@ -475,7 +473,7 @@ static int sof_probes_client_probe(struct auxiliary_device *auxdev,
links[0].cpus = &cpus[0]; links[0].cpus = &cpus[0];
links[0].num_cpus = 1; links[0].num_cpus = 1;
links[0].cpus->dai_name = "Probe Extraction CPU DAI"; links[0].cpus->dai_name = "Probe Extraction CPU DAI";
links[0].codecs = dummy; links[0].codecs = &snd_soc_dummy_dlc;
links[0].num_codecs = 1; links[0].num_codecs = 1;
links[0].platforms = platform_component; links[0].platforms = platform_component;
links[0].num_platforms = ARRAY_SIZE(platform_component); links[0].num_platforms = ARRAY_SIZE(platform_component);
......
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