phycore-ac97: add ac97 to cardname
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 4 Nov 2010 16:05:44 +0000 (17:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Nov 2010 13:14:23 +0000 (09:14 -0400)
We have different codecs on the pcm038 (ac97 wm9712 and mc13783).
To make alsactl restore work correctly these should have different
names.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/phycore-ac97.c

index cf46a17d69253e62f63447fcc92c2d2e254432ed..39f23734781afe1686c68eb812f654daebd13d13 100644 (file)
@@ -38,7 +38,7 @@ static struct snd_soc_dai_link imx_phycore_dai_ac97[] = {
 };
 
 static struct snd_soc_card imx_phycore = {
-       .name           = "PhyCORE-audio",
+       .name           = "PhyCORE-ac97-audio",
        .dai_link       = imx_phycore_dai_ac97,
        .num_links      = ARRAY_SIZE(imx_phycore_dai_ac97),
 };