Commit bfe4ee0a authored by Mike Frysinger's avatar Mike Frysinger Committed by Mark Brown

ASoC: Blackfin: standardize machine driver names

Some machine drivers were using "bf5xx-", others were using "bf5xx_",
while others were using "bfin-".  Further, some were using the same
name in the transport layer which makes it hard to use different codecs
at the same time.  So standardize all of them to "bfin-" and make sure
they are name spaced according to their driver name.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c8ad38b8
...@@ -458,7 +458,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev) ...@@ -458,7 +458,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver bf5xx_pcm_driver = { static struct platform_driver bf5xx_pcm_driver = {
.driver = { .driver = {
.name = "bf5xx-pcm-audio", .name = "bfin-ac97-pcm-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
......
...@@ -82,15 +82,15 @@ static struct snd_soc_ops bf5xx_ad1836_ops = { ...@@ -82,15 +82,15 @@ static struct snd_soc_ops bf5xx_ad1836_ops = {
static struct snd_soc_dai_link bf5xx_ad1836_dai = { static struct snd_soc_dai_link bf5xx_ad1836_dai = {
.name = "ad1836", .name = "ad1836",
.stream_name = "AD1836", .stream_name = "AD1836",
.cpu_dai_name = "bf5xx-tdm", .cpu_dai_name = "bfin-tdm",
.codec_dai_name = "ad1836-hifi", .codec_dai_name = "ad1836-hifi",
.platform_name = "bf5xx-tdm-pcm-audio", .platform_name = "bfin-tdm-pcm-audio",
.codec_name = "ad1836.0", .codec_name = "ad1836.0",
.ops = &bf5xx_ad1836_ops, .ops = &bf5xx_ad1836_ops,
}; };
static struct snd_soc_card bf5xx_ad1836 = { static struct snd_soc_card bf5xx_ad1836 = {
.name = "bf5xx_ad1836", .name = "bfin-ad1836",
.dai_link = &bf5xx_ad1836_dai, .dai_link = &bf5xx_ad1836_dai,
.num_links = 1, .num_links = 1,
}; };
......
...@@ -110,15 +110,15 @@ static struct snd_soc_ops bf5xx_ad193x_ops = { ...@@ -110,15 +110,15 @@ static struct snd_soc_ops bf5xx_ad193x_ops = {
static struct snd_soc_dai_link bf5xx_ad193x_dai = { static struct snd_soc_dai_link bf5xx_ad193x_dai = {
.name = "ad193x", .name = "ad193x",
.stream_name = "AD193X", .stream_name = "AD193X",
.cpu_dai_name = "bf5xx-tdm", .cpu_dai_name = "bfin-tdm",
.codec_dai_name ="ad193x-hifi", .codec_dai_name ="ad193x-hifi",
.platform_name = "bf5xx-tdm-pcm-audio", .platform_name = "bfin-tdm-pcm-audio",
.codec_name = "ad193x.5", .codec_name = "ad193x.5",
.ops = &bf5xx_ad193x_ops, .ops = &bf5xx_ad193x_ops,
}; };
static struct snd_soc_card bf5xx_ad193x = { static struct snd_soc_card bf5xx_ad193x = {
.name = "bf5xx_ad193x", .name = "bfin-ad193x",
.dai_link = &bf5xx_ad193x_dai, .dai_link = &bf5xx_ad193x_dai,
.num_links = 1, .num_links = 1,
}; };
......
...@@ -72,13 +72,13 @@ static struct snd_soc_dai_link bf5xx_board_dai = { ...@@ -72,13 +72,13 @@ static struct snd_soc_dai_link bf5xx_board_dai = {
.stream_name = "AC97 HiFi", .stream_name = "AC97 HiFi",
.cpu_dai_name = "bfin-ac97", .cpu_dai_name = "bfin-ac97",
.codec_dai_name = "ad1980-hifi", .codec_dai_name = "ad1980-hifi",
.platform_name = "bfin-pcm-audio", .platform_name = "bfin-ac97-pcm-audio",
.codec_name = "ad1980", .codec_name = "ad1980",
.ops = &bf5xx_board_ops, .ops = &bf5xx_board_ops,
}; };
static struct snd_soc_card bf5xx_board = { static struct snd_soc_card bf5xx_board = {
.name = "bf5xx-board", .name = "bfin-ad1980",
.dai_link = &bf5xx_board_dai, .dai_link = &bf5xx_board_dai,
.num_links = 1, .num_links = 1,
}; };
......
...@@ -183,15 +183,15 @@ static struct snd_soc_ops bf5xx_ad73311_ops = { ...@@ -183,15 +183,15 @@ static struct snd_soc_ops bf5xx_ad73311_ops = {
static struct snd_soc_dai_link bf5xx_ad73311_dai = { static struct snd_soc_dai_link bf5xx_ad73311_dai = {
.name = "ad73311", .name = "ad73311",
.stream_name = "AD73311", .stream_name = "AD73311",
.cpu_dai_name = "bf5xx-i2s", .cpu_dai_name = "bfin-i2s",
.codec_dai_name = "ad73311-hifi", .codec_dai_name = "ad73311-hifi",
.platform_name = "bfin-pcm-audio", .platform_name = "bfin-i2s-pcm-audio",
.codec_name = "ad73311", .codec_name = "ad73311",
.ops = &bf5xx_ad73311_ops, .ops = &bf5xx_ad73311_ops,
}; };
static struct snd_soc_card bf5xx_ad73311 = { static struct snd_soc_card bf5xx_ad73311 = {
.name = "bf5xx_ad73311", .name = "bfin-ad73311",
.probe = bf5xx_probe, .probe = bf5xx_probe,
.dai_link = &bf5xx_ad73311_dai, .dai_link = &bf5xx_ad73311_dai,
.num_links = 1, .num_links = 1,
......
...@@ -292,7 +292,7 @@ static int __devexit bfin_i2s_soc_platform_remove(struct platform_device *pdev) ...@@ -292,7 +292,7 @@ static int __devexit bfin_i2s_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver bfin_i2s_pcm_driver = { static struct platform_driver bfin_i2s_pcm_driver = {
.driver = { .driver = {
.name = "bfin-pcm-audio", .name = "bfin-i2s-pcm-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
......
...@@ -316,7 +316,7 @@ static struct platform_driver bfin_i2s_driver = { ...@@ -316,7 +316,7 @@ static struct platform_driver bfin_i2s_driver = {
.remove = __devexit_p(bfin_i2s_drv_remove), .remove = __devexit_p(bfin_i2s_drv_remove),
.driver = { .driver = {
.name = "bf5xx-i2s", .name = "bfin-i2s",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
}; };
......
...@@ -116,15 +116,15 @@ static struct snd_soc_ops bf5xx_ssm2602_ops = { ...@@ -116,15 +116,15 @@ static struct snd_soc_ops bf5xx_ssm2602_ops = {
static struct snd_soc_dai_link bf5xx_ssm2602_dai = { static struct snd_soc_dai_link bf5xx_ssm2602_dai = {
.name = "ssm2602", .name = "ssm2602",
.stream_name = "SSM2602", .stream_name = "SSM2602",
.cpu_dai_name = "bf5xx-i2s", .cpu_dai_name = "bfin-i2s",
.codec_dai_name = "ssm2602-hifi", .codec_dai_name = "ssm2602-hifi",
.platform_name = "bf5xx-pcm-audio", .platform_name = "bfin-i2s-pcm-audio",
.codec_name = "ssm2602.0-001b", .codec_name = "ssm2602.0-001b",
.ops = &bf5xx_ssm2602_ops, .ops = &bf5xx_ssm2602_ops,
}; };
static struct snd_soc_card bf5xx_ssm2602 = { static struct snd_soc_card bf5xx_ssm2602 = {
.name = "bf5xx_ssm2602", .name = "bfin-ssm2602",
.dai_link = &bf5xx_ssm2602_dai, .dai_link = &bf5xx_ssm2602_dai,
.num_links = 1, .num_links = 1,
}; };
......
...@@ -326,7 +326,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev) ...@@ -326,7 +326,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver bfin_tdm_driver = { static struct platform_driver bfin_tdm_driver = {
.driver = { .driver = {
.name = "bf5xx-tdm-pcm-audio", .name = "bfin-tdm-pcm-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment