ASoC: OpenRD Client : Fix naming breakage due to multicomponent support
Arnaud Patard (Rtp) [Mon, 30 Aug 2010 14:00:05 +0000 (16:00 +0200)]
multicomponent support added/changed some device name but added some typos,
breaking existing OpenRD Client support.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

arch/arm/mach-kirkwood/common.c
sound/soc/codecs/cs42l51.c
sound/soc/kirkwood/kirkwood-openrd.c

index 0f6ee32..51ff23b 100644 (file)
@@ -904,7 +904,7 @@ static struct platform_device kirkwood_i2s_device = {
 };
 
 static struct platform_device kirkwood_pcm_device = {
-       .name           = "kirkwood-pcm",
+       .name           = "kirkwood-pcm-audio",
        .id             = -1,
 };
 
index 8a25743..39fbcff 100644 (file)
@@ -622,7 +622,7 @@ MODULE_DEVICE_TABLE(i2c, cs42l51_id);
 
 static struct i2c_driver cs42l51_i2c_driver = {
        .driver = {
-               .name = "cs42L51-codec",
+               .name = "cs42l51-codec",
                .owner = THIS_MODULE,
        },
        .id_table = cs42l51_id,
index cc1a1e2..2cf76df 100644 (file)
@@ -66,7 +66,7 @@ static struct snd_soc_dai_link openrd_client_dai[] = {
        .stream_name = "CS42L51 HiFi",
        .cpu_dai_name = "kirkwood-i2s",
        .platform_name = "kirkwood-pcm-audio",
-       .codec_dai_name = "cs42l51_hifi",
+       .codec_dai_name = "cs42l51-hifi",
        .codec_name = "cs42l51-codec.0-004a",
        .ops = &openrd_client_ops,
 },