aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-28 01:45:09 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-29 18:17:50 -0400
commitbfe4ee0a935dccf5980ecb5605c66fe50feb9056 (patch)
tree0c51caeb8581f383eb7a3dcd5fd756c4efeb8240 /sound/soc/blackfin
parentc8ad38b8b26ad04d5125606065c87315308d6df5 (diff)
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: Mike Frysinger <vapier@gentoo.org> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin')
-rw-r--r--sound/soc/blackfin/bf5xx-ac97-pcm.c2
-rw-r--r--sound/soc/blackfin/bf5xx-ad1836.c6
-rw-r--r--sound/soc/blackfin/bf5xx-ad193x.c6
-rw-r--r--sound/soc/blackfin/bf5xx-ad1980.c4
-rw-r--r--sound/soc/blackfin/bf5xx-ad73311.c6
-rw-r--r--sound/soc/blackfin/bf5xx-i2s-pcm.c2
-rw-r--r--sound/soc/blackfin/bf5xx-i2s.c2
-rw-r--r--sound/soc/blackfin/bf5xx-ssm2602.c6
-rw-r--r--sound/soc/blackfin/bf5xx-tdm-pcm.c2
9 files changed, 18 insertions, 18 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c
index 5a2fd8abaefa..e940d26048d0 100644
--- a/sound/soc/blackfin/bf5xx-ac97-pcm.c
+++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c
@@ -458,7 +458,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
458 458
459static struct platform_driver bf5xx_pcm_driver = { 459static struct platform_driver bf5xx_pcm_driver = {
460 .driver = { 460 .driver = {
461 .name = "bf5xx-pcm-audio", 461 .name = "bfin-ac97-pcm-audio",
462 .owner = THIS_MODULE, 462 .owner = THIS_MODULE,
463 }, 463 },
464 464
diff --git a/sound/soc/blackfin/bf5xx-ad1836.c b/sound/soc/blackfin/bf5xx-ad1836.c
index 826bae696d36..5d9d9e2805b8 100644
--- a/sound/soc/blackfin/bf5xx-ad1836.c
+++ b/sound/soc/blackfin/bf5xx-ad1836.c
@@ -82,15 +82,15 @@ static struct snd_soc_ops bf5xx_ad1836_ops = {
82static struct snd_soc_dai_link bf5xx_ad1836_dai = { 82static struct snd_soc_dai_link bf5xx_ad1836_dai = {
83 .name = "ad1836", 83 .name = "ad1836",
84 .stream_name = "AD1836", 84 .stream_name = "AD1836",
85 .cpu_dai_name = "bf5xx-tdm", 85 .cpu_dai_name = "bfin-tdm",
86 .codec_dai_name = "ad1836-hifi", 86 .codec_dai_name = "ad1836-hifi",
87 .platform_name = "bf5xx-tdm-pcm-audio", 87 .platform_name = "bfin-tdm-pcm-audio",
88 .codec_name = "ad1836.0", 88 .codec_name = "ad1836.0",
89 .ops = &bf5xx_ad1836_ops, 89 .ops = &bf5xx_ad1836_ops,
90}; 90};
91 91
92static struct snd_soc_card bf5xx_ad1836 = { 92static struct snd_soc_card bf5xx_ad1836 = {
93 .name = "bf5xx_ad1836", 93 .name = "bfin-ad1836",
94 .dai_link = &bf5xx_ad1836_dai, 94 .dai_link = &bf5xx_ad1836_dai,
95 .num_links = 1, 95 .num_links = 1,
96}; 96};
diff --git a/sound/soc/blackfin/bf5xx-ad193x.c b/sound/soc/blackfin/bf5xx-ad193x.c
index 5794d094d003..355094fad18a 100644
--- a/sound/soc/blackfin/bf5xx-ad193x.c
+++ b/sound/soc/blackfin/bf5xx-ad193x.c
@@ -110,15 +110,15 @@ static struct snd_soc_ops bf5xx_ad193x_ops = {
110static struct snd_soc_dai_link bf5xx_ad193x_dai = { 110static struct snd_soc_dai_link bf5xx_ad193x_dai = {
111 .name = "ad193x", 111 .name = "ad193x",
112 .stream_name = "AD193X", 112 .stream_name = "AD193X",
113 .cpu_dai_name = "bf5xx-tdm", 113 .cpu_dai_name = "bfin-tdm",
114 .codec_dai_name ="ad193x-hifi", 114 .codec_dai_name ="ad193x-hifi",
115 .platform_name = "bf5xx-tdm-pcm-audio", 115 .platform_name = "bfin-tdm-pcm-audio",
116 .codec_name = "ad193x.5", 116 .codec_name = "ad193x.5",
117 .ops = &bf5xx_ad193x_ops, 117 .ops = &bf5xx_ad193x_ops,
118}; 118};
119 119
120static struct snd_soc_card bf5xx_ad193x = { 120static struct snd_soc_card bf5xx_ad193x = {
121 .name = "bf5xx_ad193x", 121 .name = "bfin-ad193x",
122 .dai_link = &bf5xx_ad193x_dai, 122 .dai_link = &bf5xx_ad193x_dai,
123 .num_links = 1, 123 .num_links = 1,
124}; 124};
diff --git a/sound/soc/blackfin/bf5xx-ad1980.c b/sound/soc/blackfin/bf5xx-ad1980.c
index c147130a2e7e..a3812408c6a5 100644
--- a/sound/soc/blackfin/bf5xx-ad1980.c
+++ b/sound/soc/blackfin/bf5xx-ad1980.c
@@ -72,13 +72,13 @@ static struct snd_soc_dai_link bf5xx_board_dai = {
72 .stream_name = "AC97 HiFi", 72 .stream_name = "AC97 HiFi",
73 .cpu_dai_name = "bfin-ac97", 73 .cpu_dai_name = "bfin-ac97",
74 .codec_dai_name = "ad1980-hifi", 74 .codec_dai_name = "ad1980-hifi",
75 .platform_name = "bfin-pcm-audio", 75 .platform_name = "bfin-ac97-pcm-audio",
76 .codec_name = "ad1980", 76 .codec_name = "ad1980",
77 .ops = &bf5xx_board_ops, 77 .ops = &bf5xx_board_ops,
78}; 78};
79 79
80static struct snd_soc_card bf5xx_board = { 80static struct snd_soc_card bf5xx_board = {
81 .name = "bf5xx-board", 81 .name = "bfin-ad1980",
82 .dai_link = &bf5xx_board_dai, 82 .dai_link = &bf5xx_board_dai,
83 .num_links = 1, 83 .num_links = 1,
84}; 84};
diff --git a/sound/soc/blackfin/bf5xx-ad73311.c b/sound/soc/blackfin/bf5xx-ad73311.c
index 1655f950dfb4..9f0d4f3c590f 100644
--- a/sound/soc/blackfin/bf5xx-ad73311.c
+++ b/sound/soc/blackfin/bf5xx-ad73311.c
@@ -183,15 +183,15 @@ static struct snd_soc_ops bf5xx_ad73311_ops = {
183static struct snd_soc_dai_link bf5xx_ad73311_dai = { 183static struct snd_soc_dai_link bf5xx_ad73311_dai = {
184 .name = "ad73311", 184 .name = "ad73311",
185 .stream_name = "AD73311", 185 .stream_name = "AD73311",
186 .cpu_dai_name = "bf5xx-i2s", 186 .cpu_dai_name = "bfin-i2s",
187 .codec_dai_name = "ad73311-hifi", 187 .codec_dai_name = "ad73311-hifi",
188 .platform_name = "bfin-pcm-audio", 188 .platform_name = "bfin-i2s-pcm-audio",
189 .codec_name = "ad73311", 189 .codec_name = "ad73311",
190 .ops = &bf5xx_ad73311_ops, 190 .ops = &bf5xx_ad73311_ops,
191}; 191};
192 192
193static struct snd_soc_card bf5xx_ad73311 = { 193static struct snd_soc_card bf5xx_ad73311 = {
194 .name = "bf5xx_ad73311", 194 .name = "bfin-ad73311",
195 .probe = bf5xx_probe, 195 .probe = bf5xx_probe,
196 .dai_link = &bf5xx_ad73311_dai, 196 .dai_link = &bf5xx_ad73311_dai,
197 .num_links = 1, 197 .num_links = 1,
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.c b/sound/soc/blackfin/bf5xx-i2s-pcm.c
index 890a0dccf902..50b1df8c1416 100644
--- a/sound/soc/blackfin/bf5xx-i2s-pcm.c
+++ b/sound/soc/blackfin/bf5xx-i2s-pcm.c
@@ -292,7 +292,7 @@ static int __devexit bfin_i2s_soc_platform_remove(struct platform_device *pdev)
292 292
293static struct platform_driver bfin_i2s_pcm_driver = { 293static struct platform_driver bfin_i2s_pcm_driver = {
294 .driver = { 294 .driver = {
295 .name = "bfin-pcm-audio", 295 .name = "bfin-i2s-pcm-audio",
296 .owner = THIS_MODULE, 296 .owner = THIS_MODULE,
297 }, 297 },
298 298
diff --git a/sound/soc/blackfin/bf5xx-i2s.c b/sound/soc/blackfin/bf5xx-i2s.c
index 37d9d3c2f2b1..dacd86c2ead4 100644
--- a/sound/soc/blackfin/bf5xx-i2s.c
+++ b/sound/soc/blackfin/bf5xx-i2s.c
@@ -316,7 +316,7 @@ static struct platform_driver bfin_i2s_driver = {
316 .remove = __devexit_p(bfin_i2s_drv_remove), 316 .remove = __devexit_p(bfin_i2s_drv_remove),
317 317
318 .driver = { 318 .driver = {
319 .name = "bf5xx-i2s", 319 .name = "bfin-i2s",
320 .owner = THIS_MODULE, 320 .owner = THIS_MODULE,
321 }, 321 },
322}; 322};
diff --git a/sound/soc/blackfin/bf5xx-ssm2602.c b/sound/soc/blackfin/bf5xx-ssm2602.c
index 732a02ffe68f..8a7b589a6fb3 100644
--- a/sound/soc/blackfin/bf5xx-ssm2602.c
+++ b/sound/soc/blackfin/bf5xx-ssm2602.c
@@ -116,15 +116,15 @@ static struct snd_soc_ops bf5xx_ssm2602_ops = {
116static struct snd_soc_dai_link bf5xx_ssm2602_dai = { 116static struct snd_soc_dai_link bf5xx_ssm2602_dai = {
117 .name = "ssm2602", 117 .name = "ssm2602",
118 .stream_name = "SSM2602", 118 .stream_name = "SSM2602",
119 .cpu_dai_name = "bf5xx-i2s", 119 .cpu_dai_name = "bfin-i2s",
120 .codec_dai_name = "ssm2602-hifi", 120 .codec_dai_name = "ssm2602-hifi",
121 .platform_name = "bf5xx-pcm-audio", 121 .platform_name = "bfin-i2s-pcm-audio",
122 .codec_name = "ssm2602.0-001b", 122 .codec_name = "ssm2602.0-001b",
123 .ops = &bf5xx_ssm2602_ops, 123 .ops = &bf5xx_ssm2602_ops,
124}; 124};
125 125
126static struct snd_soc_card bf5xx_ssm2602 = { 126static struct snd_soc_card bf5xx_ssm2602 = {
127 .name = "bf5xx_ssm2602", 127 .name = "bfin-ssm2602",
128 .dai_link = &bf5xx_ssm2602_dai, 128 .dai_link = &bf5xx_ssm2602_dai,
129 .num_links = 1, 129 .num_links = 1,
130}; 130};
diff --git a/sound/soc/blackfin/bf5xx-tdm-pcm.c b/sound/soc/blackfin/bf5xx-tdm-pcm.c
index 74cf759b78a6..d1bd745d72cf 100644
--- a/sound/soc/blackfin/bf5xx-tdm-pcm.c
+++ b/sound/soc/blackfin/bf5xx-tdm-pcm.c
@@ -326,7 +326,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
326 326
327static struct platform_driver bfin_tdm_driver = { 327static struct platform_driver bfin_tdm_driver = {
328 .driver = { 328 .driver = {
329 .name = "bf5xx-tdm-pcm-audio", 329 .name = "bfin-tdm-pcm-audio",
330 .owner = THIS_MODULE, 330 .owner = THIS_MODULE,
331 }, 331 },
332 332