summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-12-19 05:10:19 +0000
committerMark Brown <broonie@kernel.org>2023-12-19 13:23:45 +0000
commite8776ff9ce9f5a8a9d8294101fd2924cebdd2da1 (patch)
tree804133c19e2a9a9fb379e318e71ccb191444c9bc /sound
parentc2dfe29f30d8850af324449f416491b171af19aa (diff)
downloadlinux-stable-e8776ff9ce9f5a8a9d8294101fd2924cebdd2da1.tar.gz
linux-stable-e8776ff9ce9f5a8a9d8294101fd2924cebdd2da1.tar.bz2
linux-stable-e8776ff9ce9f5a8a9d8294101fd2924cebdd2da1.zip
ASoC: sof: use snd_soc_dummy_dlc
We already have snd_soc_dummy_dlc. Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://msgid.link/r/8734vy93r8.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sof/sof-client-probes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/sof/sof-client-probes.c b/sound/soc/sof/sof-client-probes.c
index 7cc9e8f18de7..30f771ac7bbf 100644
--- a/sound/soc/sof/sof-client-probes.c
+++ b/sound/soc/sof/sof-client-probes.c
@@ -381,8 +381,6 @@ static const struct snd_soc_component_driver sof_probes_component = {
.legacy_dai_naming = 1,
};
-SND_SOC_DAILINK_DEF(dummy, DAILINK_COMP_ARRAY(COMP_DUMMY()));
-
static int sof_probes_client_probe(struct auxiliary_device *auxdev,
const struct auxiliary_device_id *id)
{
@@ -475,7 +473,7 @@ static int sof_probes_client_probe(struct auxiliary_device *auxdev,
links[0].cpus = &cpus[0];
links[0].num_cpus = 1;
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].platforms = platform_component;
links[0].num_platforms = ARRAY_SIZE(platform_component);