ASoC: fsl: mpc8610_hpcd/p1022_ds/p1022_rdk: use modern dai_link style
ASoC is now supporting modern style dai_link (= snd_soc_dai_link_component) for CPU/Codec/Platform. This patch switches to use it. mpc8610_hpcd/p1022_ds/p1022_rdk are sharing fsl_asoc_get_dma_channel() which setups platform. We need to update these by 1 patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
893f195104
commit
6aa7b4091d
@@ -57,7 +57,7 @@ int fsl_asoc_get_dma_channel(struct device_node *ssi_np,
|
||||
of_node_put(dma_channel_np);
|
||||
return ret;
|
||||
}
|
||||
snprintf((char *)dai->platform_name, DAI_NAME_SIZE, "%llx.%pOFn",
|
||||
snprintf((char *)dai->platforms->name, DAI_NAME_SIZE, "%llx.%pOFn",
|
||||
(unsigned long long) res.start, dma_channel_np);
|
||||
|
||||
iprop = of_get_property(dma_channel_np, "cell-index", NULL);
|
||||
|
Reference in New Issue
Block a user