]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: omap3pandora: Use the same name for platform as the cpu_dai
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 16 Apr 2014 12:46:26 +0000 (15:46 +0300)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 17:00:47 +0000 (18:00 +0100)
Now that the platform driver is registered with the cpu_dai's device we
can use the same name for it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/omap/omap3pandora.c

index 02181bb70400a62a379357de438cabc101151b95..076bec606d78aabbdecd4e398522fcc03bb2e197 100644 (file)
@@ -197,7 +197,7 @@ static struct snd_soc_dai_link omap3pandora_dai[] = {
                .stream_name = "HiFi Out",
                .cpu_dai_name = "omap-mcbsp.2",
                .codec_dai_name = "twl4030-hifi",
-               .platform_name = "omap-pcm-audio",
+               .platform_name = "omap-mcbsp.2",
                .codec_name = "twl4030-codec",
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
                           SND_SOC_DAIFMT_CBS_CFS,
@@ -208,7 +208,7 @@ static struct snd_soc_dai_link omap3pandora_dai[] = {
                .stream_name = "Line/Mic In",
                .cpu_dai_name = "omap-mcbsp.4",
                .codec_dai_name = "twl4030-hifi",
-               .platform_name = "omap-pcm-audio",
+               .platform_name = "omap-mcbsp.4",
                .codec_name = "twl4030-codec",
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
                           SND_SOC_DAIFMT_CBS_CFS,