ASoC: neo1973: fix neo1973 wm8753 initialization

The neo1973 driver had wrong codec name which prevented the "sound card"
from appearing.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
This commit is contained in:
Denis 'GNUtoo' Carikli 2012-02-26 19:21:54 +01:00 committed by Mark Brown
parent 5ed80a75b2
commit b2ccf065f7

View File

@ -367,7 +367,7 @@ static struct snd_soc_dai_link neo1973_dai[] = {
.platform_name = "samsung-audio", .platform_name = "samsung-audio",
.cpu_dai_name = "s3c24xx-iis", .cpu_dai_name = "s3c24xx-iis",
.codec_dai_name = "wm8753-hifi", .codec_dai_name = "wm8753-hifi",
.codec_name = "wm8753-codec.0-001a", .codec_name = "wm8753.0-001a",
.init = neo1973_wm8753_init, .init = neo1973_wm8753_init,
.ops = &neo1973_hifi_ops, .ops = &neo1973_hifi_ops,
}, },
@ -376,7 +376,7 @@ static struct snd_soc_dai_link neo1973_dai[] = {
.stream_name = "Voice", .stream_name = "Voice",
.cpu_dai_name = "dfbmcs320-pcm", .cpu_dai_name = "dfbmcs320-pcm",
.codec_dai_name = "wm8753-voice", .codec_dai_name = "wm8753-voice",
.codec_name = "wm8753-codec.0-001a", .codec_name = "wm8753.0-001a",
.ops = &neo1973_voice_ops, .ops = &neo1973_voice_ops,
}, },
}; };