diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-12-19 10:55:01 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-07 10:37:19 -0500 |
commit | ae276e93b8ccb933c8cfca368427d1eafd07128d (patch) | |
tree | 8f9982eb5e5876c41525e4b6d3f058286f579537 /sound | |
parent | a61f9e314ad8ab9434ddd989b857ed93fdc725e2 (diff) |
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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/ux500/mop500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index 178d1bad6259..b3b66aa98dce 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c | |||
@@ -91,6 +91,8 @@ static int mop500_of_probe(struct platform_device *pdev, | |||
91 | for (i = 0; i < 2; i++) { | 91 | for (i = 0; i < 2; i++) { |
92 | mop500_dai_links[i].cpu_of_node = msp_np[i]; | 92 | mop500_dai_links[i].cpu_of_node = msp_np[i]; |
93 | mop500_dai_links[i].cpu_dai_name = NULL; | 93 | mop500_dai_links[i].cpu_dai_name = NULL; |
94 | mop500_dai_links[i].platform_of_node = msp_np[i]; | ||
95 | mop500_dai_links[i].platform_name = NULL; | ||
94 | mop500_dai_links[i].codec_of_node = codec_np; | 96 | mop500_dai_links[i].codec_of_node = codec_np; |
95 | mop500_dai_links[i].codec_name = NULL; | 97 | mop500_dai_links[i].codec_name = NULL; |
96 | } | 98 | } |