ASoC: Blackfin: bf5xx-ad1836: Fix codec device name
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 7 Jun 2011 08:24:46 +0000 (10:24 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Jun 2011 08:49:28 +0000 (09:49 +0100)
Fix the codec_name field of the dai_link to match the actual device name
of the codec. Otherwise the card won't be instantiated.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/blackfin/bf5xx-ad1836.c

index ea4951cf5526d5871af7441430d583d81fd3749c..f79d1655e035d845fc0d8118366df2cd2f397989 100644 (file)
@@ -75,7 +75,7 @@ static struct snd_soc_dai_link bf5xx_ad1836_dai[] = {
                .cpu_dai_name = "bfin-tdm.0",
                .codec_dai_name = "ad1836-hifi",
                .platform_name = "bfin-tdm-pcm-audio",
-               .codec_name = "ad1836.0",
+               .codec_name = "spi0.4",
                .ops = &bf5xx_ad1836_ops,
        },
        {
@@ -84,7 +84,7 @@ static struct snd_soc_dai_link bf5xx_ad1836_dai[] = {
                .cpu_dai_name = "bfin-tdm.1",
                .codec_dai_name = "ad1836-hifi",
                .platform_name = "bfin-tdm-pcm-audio",
-               .codec_name = "ad1836.0",
+               .codec_name = "spi0.4",
                .ops = &bf5xx_ad1836_ops,
        },
 };