summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-sgtl5000.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-25 11:19:12 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-25 10:22:20 +0000
commitfa659d830df0bad8fc3a3815a7f36bd8b7ed9254 (patch)
treebd10eca8fd3edfc977d19d26411cfc9be7b46da7 /sound/soc/fsl/imx-sgtl5000.c
parent2fb148804fe50639be4c5addb9e28aad0fce1687 (diff)
downloadlinux-fa659d830df0bad8fc3a3815a7f36bd8b7ed9254.tar.gz
linux-fa659d830df0bad8fc3a3815a7f36bd8b7ed9254.tar.bz2
linux-fa659d830df0bad8fc3a3815a7f36bd8b7ed9254.zip
ASoC: imx-sgtl5000: use of_node to match cpu dai
Since imx-sgtl5000 is only used on DT platform, it makes more sense to use cpu_of_node rather than cpu_dai_name to match cpu dai. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/imx-sgtl5000.c')
-rw-r--r--sound/soc/fsl/imx-sgtl5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c
index 424347e9b2d7..9584e78858df 100644
--- a/sound/soc/fsl/imx-sgtl5000.c
+++ b/sound/soc/fsl/imx-sgtl5000.c
@@ -148,7 +148,7 @@ static int imx_sgtl5000_probe(struct platform_device *pdev)
data->dai.stream_name = "HiFi";
data->dai.codec_dai_name = "sgtl5000";
data->dai.codec_of_node = codec_np;
- data->dai.cpu_dai_name = dev_name(&ssi_pdev->dev);
+ data->dai.cpu_of_node = ssi_np;
data->dai.platform_name = "imx-pcm-audio";
data->dai.init = &imx_sgtl5000_dai_init;
data->dai.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |