Skip to content

Commit

Permalink
ASoC: zylonite: set .codec_dai_name in initializer
Browse files Browse the repository at this point in the history
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: Antonio Ospite <[email protected]>
Acked-by: Eric Miao <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Antonio Ospite authored and broonie committed Mar 30, 2011
1 parent 326b9bd commit efd6947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ static struct snd_soc_dai_link zylonite_dai[] = {
.codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa2xx-ac97",
.codec_name = "wm9713-hifi",
.codec_dai_name = "wm9713-hifi",
.init = zylonite_wm9713_init,
},
{
Expand All @@ -176,15 +176,15 @@ static struct snd_soc_dai_link zylonite_dai[] = {
.codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa2xx-ac97-aux",
.codec_name = "wm9713-aux",
.codec_dai_name = "wm9713-aux",
},
{
.name = "WM9713 Voice",
.stream_name = "WM9713 Voice",
.codec_name = "wm9713-codec",
.platform_name = "pxa-pcm-audio",
.cpu_dai_name = "pxa-ssp-dai.2",
.codec_name = "wm9713-voice",
.codec_dai_name = "wm9713-voice",
.ops = &zylonite_voice_ops,
},
};
Expand Down

0 comments on commit efd6947

Please sign in to comment.