提交 ae276e93 编写于 作者: L Lee Jones 提交者: Mark Brown

ASoC: Ux500: Match platform by device node when booting Device Tree

We're getting closer to fully enabling the Ux500 ASoC driver for Device
Tree. When we switch over from using AUXDATA we'll need to match platform
by only Device Tree nodes. In this patch we NULL out the platform_name,
and supply nodes for each platform device.
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 a61f9e31
...@@ -91,6 +91,8 @@ static int mop500_of_probe(struct platform_device *pdev, ...@@ -91,6 +91,8 @@ static int mop500_of_probe(struct platform_device *pdev,
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
mop500_dai_links[i].cpu_of_node = msp_np[i]; mop500_dai_links[i].cpu_of_node = msp_np[i];
mop500_dai_links[i].cpu_dai_name = NULL; mop500_dai_links[i].cpu_dai_name = NULL;
mop500_dai_links[i].platform_of_node = msp_np[i];
mop500_dai_links[i].platform_name = NULL;
mop500_dai_links[i].codec_of_node = codec_np; mop500_dai_links[i].codec_of_node = codec_np;
mop500_dai_links[i].codec_name = NULL; mop500_dai_links[i].codec_name = NULL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册