]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: fsl: imx-audmix: use snd_soc_dai_link_component for codec_conf
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 13 Dec 2019 00:54:44 +0000 (09:54 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Dec 2019 12:02:02 +0000 (12:02 +0000)
We can use snd_soc_dai_link_component to specify codec_conf.
Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87k17159kb.wl-kuninori.morimoto.gx@renesas.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c

index 71590ca6394b97c7e6ccd62ababe889101fca475..5ef6881395e0f4963456b9d5101c0b0744aa3970 100644 (file)
@@ -289,7 +289,7 @@ static int imx_audmix_probe(struct platform_device *pdev)
                priv->dai[num_dai + i].ignore_pmdown_time = 1;
                priv->dai[num_dai + i].ops = &imx_audmix_be_ops;
 
-               priv->dai_conf[i].of_node = args.np;
+               priv->dai_conf[i].dlc.of_node = args.np;
                priv->dai_conf[i].name_prefix = dai_name;
 
                priv->dapm_routes[i].source =