Commit efd69479 authored by Antonio Ospite's avatar Antonio Ospite Committed by Mark Brown

ASoC: zylonite: set .codec_dai_name in initializer

Fix the initialization of .codec_dai_name in zylonite_dai initializer,
do not mix it with the initialization of .codec_name which is set
already a few lines above.
Signed-off-by: default avatarAntonio Ospite <ospite@studenti.unina.it>
Acked-by: default avatarEric Miao <eric.y.miao@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 326b9bdc
...@@ -167,7 +167,7 @@ static struct snd_soc_dai_link zylonite_dai[] = { ...@@ -167,7 +167,7 @@ static struct snd_soc_dai_link zylonite_dai[] = {
.codec_name = "wm9713-codec", .codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio", .platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa2xx-ac97", .cpu_dai_name = "pxa2xx-ac97",
.codec_name = "wm9713-hifi", .codec_dai_name = "wm9713-hifi",
.init = zylonite_wm9713_init, .init = zylonite_wm9713_init,
}, },
{ {
...@@ -176,7 +176,7 @@ static struct snd_soc_dai_link zylonite_dai[] = { ...@@ -176,7 +176,7 @@ static struct snd_soc_dai_link zylonite_dai[] = {
.codec_name = "wm9713-codec", .codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio", .platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa2xx-ac97-aux", .cpu_dai_name = "pxa2xx-ac97-aux",
.codec_name = "wm9713-aux", .codec_dai_name = "wm9713-aux",
}, },
{ {
.name = "WM9713 Voice", .name = "WM9713 Voice",
...@@ -184,7 +184,7 @@ static struct snd_soc_dai_link zylonite_dai[] = { ...@@ -184,7 +184,7 @@ static struct snd_soc_dai_link zylonite_dai[] = {
.codec_name = "wm9713-codec", .codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio", .platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa-ssp-dai.2", .cpu_dai_name = "pxa-ssp-dai.2",
.codec_name = "wm9713-voice", .codec_dai_name = "wm9713-voice",
.ops = &zylonite_voice_ops, .ops = &zylonite_voice_ops,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment