@@ -848,7 +848,7 @@ static struct platform_device sharpsl_rom_device = {
};
static struct platform_device wm9712_device = {
- .name = "wm9712-codec",
+ .name = "wm9712-component",
.id = -1,
};
@@ -638,7 +638,7 @@ static struct platform_device db1300_sd0_dev = {
/**********************************************************************/
static struct platform_device db1300_wm9715_dev = {
- .name = "wm9712-codec",
+ .name = "wm9712-component",
.id = 1, /* ID of PSC for AC97 audio, see asoc glue! */
};
@@ -109,7 +109,7 @@ static const struct regmap_config wm9705_regmap_config = {
};
static struct mfd_cell wm9705_cells[] = {
- { .name = "wm9705-codec", },
+ { .name = "wm9705-component", },
{ .name = "wm97xx-ts", },
};
@@ -177,7 +177,7 @@ static const struct regmap_config wm9712_regmap_config = {
};
static struct mfd_cell wm9712_cells[] = {
- { .name = "wm9712-codec", },
+ { .name = "wm9712-component", },
{ .name = "wm97xx-ts", },
};
@@ -248,7 +248,7 @@ static const struct regmap_config wm9713_regmap_config = {
};
static struct mfd_cell wm9713_cells[] = {
- { .name = "wm9713-codec", },
+ { .name = "wm9713-component", },
{ .name = "wm97xx-ts", },
};
@@ -52,7 +52,7 @@ static struct snd_soc_dai_link db1200_ac97_dai = {
.codec_dai_name = "ac97-hifi",
.cpu_dai_name = "au1xpsc_ac97.1",
.platform_name = "au1xpsc-pcm.1",
- .codec_name = "ac97-codec.1",
+ .codec_name = "ac97-component.1",
};
static struct snd_soc_card db1200_ac97_machine = {
@@ -68,7 +68,7 @@ static struct snd_soc_dai_link db1300_ac97_dai = {
.codec_dai_name = "wm9712-hifi",
.cpu_dai_name = "au1xpsc_ac97.1",
.platform_name = "au1xpsc-pcm.1",
- .codec_name = "wm9712-codec.1",
+ .codec_name = "wm9712-component.1",
};
static struct snd_soc_card db1300_ac97_machine = {
@@ -33,14 +33,14 @@ static struct snd_soc_dai_link pcm030_fabric_dai[] = {
.stream_name = "AC97 Analog",
.codec_dai_name = "wm9712-hifi",
.cpu_dai_name = "mpc5200-psc-ac97.0",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
{
.name = "AC97.1",
.stream_name = "AC97 IEC958",
.codec_dai_name = "wm9712-aux",
.cpu_dai_name = "mpc5200-psc-ac97.1",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
};
@@ -85,7 +85,7 @@ static int pcm030_fabric_probe(struct platform_device *op)
if (ret)
dev_err(&op->dev, "request_module returned: %d\n", ret);
- pdata->codec_device = platform_device_alloc("wm9712-codec", -1);
+ pdata->codec_device = platform_device_alloc("wm9712-component", -1);
if (!pdata->codec_device)
dev_err(&op->dev, "platform_device_alloc() failed\n");
@@ -30,8 +30,8 @@ static struct snd_soc_dai_link imx_phycore_dai_ac97[] = {
{
.name = "HiFi",
.stream_name = "HiFi",
- .codec_dai_name = "wm9712-hifi",
- .codec_name = "wm9712-codec",
+ .codec_dai_name = "wm9712-hifi",
+ .codec_name = "wm9712-component",
.cpu_dai_name = "imx-ssi.0",
.platform_name = "imx-ssi.0",
.ops = &imx_phycore_hifi_ops,
@@ -88,7 +88,7 @@ static int __init imx_phycore_init(void)
if (ret)
goto fail1;
- imx_phycore_snd_device = platform_device_alloc("wm9712-codec", -1);
+ imx_phycore_snd_device = platform_device_alloc("wm9712-component", -1);
if (!imx_phycore_snd_device) {
ret = -ENOMEM;
goto fail2;
@@ -75,7 +75,7 @@ static struct snd_soc_dai_link e800_dai[] = {
.cpu_dai_name = "pxa2xx-ac97",
.codec_dai_name = "wm9712-hifi",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
{
.name = "AC97 Aux",
@@ -83,7 +83,7 @@ static struct snd_soc_dai_link e800_dai[] = {
.cpu_dai_name = "pxa2xx-ac97-aux",
.codec_dai_name = "wm9712-aux",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
};
@@ -37,7 +37,7 @@ static struct snd_soc_dai_link em_x270_dai[] = {
.cpu_dai_name = "pxa2xx-ac97",
.codec_dai_name = "wm9712-hifi",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
{
.name = "AC97 Aux",
@@ -45,7 +45,7 @@ static struct snd_soc_dai_link em_x270_dai[] = {
.cpu_dai_name = "pxa2xx-ac97-aux",
.codec_dai_name = "wm9712-aux",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
},
};
@@ -93,7 +93,7 @@ static struct snd_soc_dai_link palm27x_dai[] = {
.stream_name = "AC97 HiFi",
.cpu_dai_name = "pxa2xx-ac97",
.codec_dai_name = "wm9712-hifi",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
.platform_name = "pxa-pcm-audio",
.init = palm27x_ac97_init,
},
@@ -102,7 +102,7 @@ static struct snd_soc_dai_link palm27x_dai[] = {
.stream_name = "AC97 Aux",
.cpu_dai_name = "pxa2xx-ac97-aux",
.codec_dai_name = "wm9712-aux",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
.platform_name = "pxa-pcm-audio",
},
};
@@ -189,7 +189,7 @@ static struct snd_soc_dai_link tosa_dai[] = {
.cpu_dai_name = "pxa2xx-ac97",
.codec_dai_name = "wm9712-hifi",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
.ops = &tosa_ops,
},
{
@@ -198,7 +198,7 @@ static struct snd_soc_dai_link tosa_dai[] = {
.cpu_dai_name = "pxa2xx-ac97-aux",
.codec_dai_name = "wm9712-aux",
.platform_name = "pxa-pcm-audio",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
.ops = &tosa_ops,
},
};
@@ -53,7 +53,7 @@ static struct snd_soc_dai_link tegra_wm9712_dai = {
.name = "AC97 HiFi",
.stream_name = "AC97 HiFi",
.codec_dai_name = "wm9712-hifi",
- .codec_name = "wm9712-codec",
+ .codec_name = "wm9712-component",
.init = tegra_wm9712_init,
};
@@ -83,7 +83,7 @@ static int tegra_wm9712_driver_probe(struct platform_device *pdev)
card->dev = &pdev->dev;
snd_soc_card_set_drvdata(card, machine);
- machine->codec = platform_device_alloc("wm9712-codec", -1);
+ machine->codec = platform_device_alloc("wm9712-component", -1);
if (!machine->codec) {
dev_err(&pdev->dev, "Can't allocate wm9712 platform device\n");
return -ENOMEM;