forked from luck/tmp_suning_uos_patched
ASoC: mediatek: mt8173-rt5650-rt5676: use snd_soc_dai_link_component for codec_conf
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/87blsd59jb.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>
This commit is contained in:
parent
e90c2a3bc1
commit
fe71bf9aaf
|
@ -265,7 +265,7 @@ static int mt8173_rt5650_rt5676_dev_probe(struct platform_device *pdev)
|
|||
"Property 'audio-codec' missing or invalid\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
mt8173_rt5650_rt5676_codec_conf[0].of_node =
|
||||
mt8173_rt5650_rt5676_codec_conf[0].dlc.of_node =
|
||||
mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node;
|
||||
|
||||
mt8173_rt5650_rt5676_dais[DAI_LINK_INTERCODEC].codecs->of_node =
|
||||
|
|
Loading…
Reference in New Issue
Block a user