diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-11-22 01:35:50 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-23 09:04:19 -0500 |
commit | 58bb4072132c54d832082cc6eac396a6db009cbd (patch) | |
tree | e53d8876417c1c1aa5dfc282ed6cf2cefc740d02 /sound/soc/s3c24xx | |
parent | 3a56d0ca72f8fc47240849b83acacd1c92283b99 (diff) |
ASoC: Samsung: Rename DMA device
Some Samsung SoCs have a PCM(DSP) controller. So the name
s3c24xx-pcm-audio for DMA driver is not very appropraite.
This patch moves :-
s3c24xx-pcm-audio -> samsung-audio
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r-- | sound/soc/s3c24xx/goni_wm8994.c | 4 | ||||
-rw-r--r-- | sound/soc/s3c24xx/jive_wm8750.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/ln2440sbc_alc650.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 4 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 4 | ||||
-rw-r--r-- | sound/soc/s3c24xx/rx1950_uda1380.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c-dma.c | 4 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx_simtec_hermes.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx_uda134x.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smartq_wm8987.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smdk2443_wm9710.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smdk64xx_wm8580.c | 4 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smdk_spdif.c | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smdk_wm9713.c | 2 |
15 files changed, 20 insertions, 20 deletions
diff --git a/sound/soc/s3c24xx/goni_wm8994.c b/sound/soc/s3c24xx/goni_wm8994.c index 62134ed3aa57..b43ab3349585 100644 --- a/sound/soc/s3c24xx/goni_wm8994.c +++ b/sound/soc/s3c24xx/goni_wm8994.c | |||
@@ -251,7 +251,7 @@ static struct snd_soc_dai_link goni_dai[] = { | |||
251 | .stream_name = "WM8994 HiFi", | 251 | .stream_name = "WM8994 HiFi", |
252 | .cpu_dai_name = "s3c64xx-i2s-v4", | 252 | .cpu_dai_name = "s3c64xx-i2s-v4", |
253 | .codec_dai_name = "wm8994-hifi", | 253 | .codec_dai_name = "wm8994-hifi", |
254 | .platform_name = "s3c24xx-pcm-audio", | 254 | .platform_name = "samsung-audio", |
255 | .codec_name = "wm8994-codec.0-0x1a", | 255 | .codec_name = "wm8994-codec.0-0x1a", |
256 | .init = goni_wm8994_init, | 256 | .init = goni_wm8994_init, |
257 | .ops = &goni_hifi_ops, | 257 | .ops = &goni_hifi_ops, |
@@ -260,7 +260,7 @@ static struct snd_soc_dai_link goni_dai[] = { | |||
260 | .stream_name = "Voice", | 260 | .stream_name = "Voice", |
261 | .cpu_dai_name = "goni-voice-dai", | 261 | .cpu_dai_name = "goni-voice-dai", |
262 | .codec_dai_name = "wm8994-voice", | 262 | .codec_dai_name = "wm8994-voice", |
263 | .platform_name = "s3c24xx-pcm-audio", | 263 | .platform_name = "samsung-audio", |
264 | .codec_name = "wm8994-codec.0-0x1a", | 264 | .codec_name = "wm8994-codec.0-0x1a", |
265 | .ops = &goni_voice_ops, | 265 | .ops = &goni_voice_ops, |
266 | }, | 266 | }, |
diff --git a/sound/soc/s3c24xx/jive_wm8750.c b/sound/soc/s3c24xx/jive_wm8750.c index 100f0f0eabef..0bf0b99daa8d 100644 --- a/sound/soc/s3c24xx/jive_wm8750.c +++ b/sound/soc/s3c24xx/jive_wm8750.c | |||
@@ -141,7 +141,7 @@ static struct snd_soc_dai_link jive_dai = { | |||
141 | .stream_name = "WM8750", | 141 | .stream_name = "WM8750", |
142 | .cpu_dai_name = "s3c2412-i2s", | 142 | .cpu_dai_name = "s3c2412-i2s", |
143 | .codec_dai_name = "wm8750-hifi", | 143 | .codec_dai_name = "wm8750-hifi", |
144 | .platform_name = "s3c24xx-pcm-audio", | 144 | .platform_name = "samsung-audio", |
145 | .codec_name = "wm8750-codec.0-0x1a", | 145 | .codec_name = "wm8750-codec.0-0x1a", |
146 | .init = jive_wm8750_init, | 146 | .init = jive_wm8750_init, |
147 | .ops = &jive_ops, | 147 | .ops = &jive_ops, |
diff --git a/sound/soc/s3c24xx/ln2440sbc_alc650.c b/sound/soc/s3c24xx/ln2440sbc_alc650.c index dd4fad8c7b50..d04c0f2da090 100644 --- a/sound/soc/s3c24xx/ln2440sbc_alc650.c +++ b/sound/soc/s3c24xx/ln2440sbc_alc650.c | |||
@@ -34,7 +34,7 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = { | |||
34 | .cpu_dai_name = "s3c-ac97", | 34 | .cpu_dai_name = "s3c-ac97", |
35 | .codec_dai_name = "ac97-hifi", | 35 | .codec_dai_name = "ac97-hifi", |
36 | .codec_name = "ac97-codec", | 36 | .codec_name = "ac97-codec", |
37 | .platform_name = "s3c24xx-pcm-audio", | 37 | .platform_name = "samsung-audio", |
38 | }, | 38 | }, |
39 | }; | 39 | }; |
40 | 40 | ||
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c index 64c98e5d648d..0451d0f28d0c 100644 --- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c | |||
@@ -400,7 +400,7 @@ static struct snd_soc_dai_link neo1973_gta02_dai[] = { | |||
400 | .cpu_dai_name = "s3c24xx-i2s", | 400 | .cpu_dai_name = "s3c24xx-i2s", |
401 | .codec_dai_name = "wm8753-hifi", | 401 | .codec_dai_name = "wm8753-hifi", |
402 | .init = neo1973_gta02_wm8753_init, | 402 | .init = neo1973_gta02_wm8753_init, |
403 | .platform_name = "s3c24xx-pcm-audio", | 403 | .platform_name = "samsung-audio", |
404 | .codec_name = "wm8753-codec.0-0x1a", | 404 | .codec_name = "wm8753-codec.0-0x1a", |
405 | .ops = &neo1973_gta02_hifi_ops, | 405 | .ops = &neo1973_gta02_hifi_ops, |
406 | }, | 406 | }, |
@@ -411,7 +411,7 @@ static struct snd_soc_dai_link neo1973_gta02_dai[] = { | |||
411 | .codec_dai_name = "wm8753-voice", | 411 | .codec_dai_name = "wm8753-voice", |
412 | .ops = &neo1973_gta02_voice_ops, | 412 | .ops = &neo1973_gta02_voice_ops, |
413 | .codec_name = "wm8753-codec.0-0x1a", | 413 | .codec_name = "wm8753-codec.0-0x1a", |
414 | .platform_name = "s3c24xx-pcm-audio", | 414 | .platform_name = "samsung-audio", |
415 | }, | 415 | }, |
416 | }; | 416 | }; |
417 | 417 | ||
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index 11e3c905bd87..000ed5f50723 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -558,7 +558,7 @@ static struct snd_soc_dai_link neo1973_dai[] = { | |||
558 | { /* Hifi Playback - for similatious use with voice below */ | 558 | { /* Hifi Playback - for similatious use with voice below */ |
559 | .name = "WM8753", | 559 | .name = "WM8753", |
560 | .stream_name = "WM8753 HiFi", | 560 | .stream_name = "WM8753 HiFi", |
561 | .platform_name = "s3c24xx-pcm-audio", | 561 | .platform_name = "samsung-audio", |
562 | .cpu_dai_name = "s3c24xx-i2s", | 562 | .cpu_dai_name = "s3c24xx-i2s", |
563 | .codec_dai_name = "wm8753-hifi", | 563 | .codec_dai_name = "wm8753-hifi", |
564 | .codec_name = "wm8753-codec.0-0x1a", | 564 | .codec_name = "wm8753-codec.0-0x1a", |
@@ -568,7 +568,7 @@ static struct snd_soc_dai_link neo1973_dai[] = { | |||
568 | { /* Voice via BT */ | 568 | { /* Voice via BT */ |
569 | .name = "Bluetooth", | 569 | .name = "Bluetooth", |
570 | .stream_name = "Voice", | 570 | .stream_name = "Voice", |
571 | .platform_name = "s3c24xx-pcm-audio", | 571 | .platform_name = "samsung-audio", |
572 | .cpu_dai_name = "bluetooth-dai", | 572 | .cpu_dai_name = "bluetooth-dai", |
573 | .codec_dai_name = "wm8753-voice", | 573 | .codec_dai_name = "wm8753-voice", |
574 | .codec_name = "wm8753-codec.0-0x1a", | 574 | .codec_name = "wm8753-codec.0-0x1a", |
diff --git a/sound/soc/s3c24xx/rx1950_uda1380.c b/sound/soc/s3c24xx/rx1950_uda1380.c index 5dfd4dbddca2..6e7912eb19f2 100644 --- a/sound/soc/s3c24xx/rx1950_uda1380.c +++ b/sound/soc/s3c24xx/rx1950_uda1380.c | |||
@@ -94,7 +94,7 @@ static struct snd_soc_dai_link rx1950_uda1380_dai[] = { | |||
94 | .cpu_dai_name = "s3c24xx-iis", | 94 | .cpu_dai_name = "s3c24xx-iis", |
95 | .codec_dai_name = "uda1380-hifi", | 95 | .codec_dai_name = "uda1380-hifi", |
96 | .init = rx1950_uda1380_init, | 96 | .init = rx1950_uda1380_init, |
97 | .platform_name = "s3c24xx-pcm-audio", | 97 | .platform_name = "samsung-audio", |
98 | .codec_name = "uda1380-codec.0-001a", | 98 | .codec_name = "uda1380-codec.0-001a", |
99 | .ops = &rx1950_ops, | 99 | .ops = &rx1950_ops, |
100 | }, | 100 | }, |
diff --git a/sound/soc/s3c24xx/s3c-dma.c b/sound/soc/s3c24xx/s3c-dma.c index 243f79bf43bb..19bcfa431075 100644 --- a/sound/soc/s3c24xx/s3c-dma.c +++ b/sound/soc/s3c24xx/s3c-dma.c | |||
@@ -476,7 +476,7 @@ static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev) | |||
476 | 476 | ||
477 | static struct platform_driver s3c24xx_pcm_driver = { | 477 | static struct platform_driver s3c24xx_pcm_driver = { |
478 | .driver = { | 478 | .driver = { |
479 | .name = "s3c24xx-pcm-audio", | 479 | .name = "samsung-audio", |
480 | .owner = THIS_MODULE, | 480 | .owner = THIS_MODULE, |
481 | }, | 481 | }, |
482 | 482 | ||
@@ -499,4 +499,4 @@ module_exit(snd_s3c24xx_pcm_exit); | |||
499 | MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>"); | 499 | MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>"); |
500 | MODULE_DESCRIPTION("Samsung S3C Audio DMA module"); | 500 | MODULE_DESCRIPTION("Samsung S3C Audio DMA module"); |
501 | MODULE_LICENSE("GPL"); | 501 | MODULE_LICENSE("GPL"); |
502 | MODULE_ALIAS("platform:s3c24xx-pcm-audio"); | 502 | MODULE_ALIAS("platform:samsung-audio"); |
diff --git a/sound/soc/s3c24xx/s3c24xx_simtec_hermes.c b/sound/soc/s3c24xx/s3c24xx_simtec_hermes.c index 044a0b241642..c1abd43bb9d1 100644 --- a/sound/soc/s3c24xx/s3c24xx_simtec_hermes.c +++ b/sound/soc/s3c24xx/s3c24xx_simtec_hermes.c | |||
@@ -99,7 +99,7 @@ static struct snd_soc_dai_link simtec_dai_aic33 = { | |||
99 | .codec_name = "tlv320aic3x-codec.0-0x1a", | 99 | .codec_name = "tlv320aic3x-codec.0-0x1a", |
100 | .cpu_dai_name = "s3c24xx-i2s", | 100 | .cpu_dai_name = "s3c24xx-i2s", |
101 | .codec_dai_name = "tlv320aic3x-hifi", | 101 | .codec_dai_name = "tlv320aic3x-hifi", |
102 | .platform_name = "s3c24xx-pcm-audio", | 102 | .platform_name = "samsung-audio", |
103 | .init = simtec_hermes_init, | 103 | .init = simtec_hermes_init, |
104 | }; | 104 | }; |
105 | 105 | ||
diff --git a/sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c b/sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c index f2f70a937110..1de58571aa56 100644 --- a/sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c +++ b/sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | |||
@@ -88,7 +88,7 @@ static struct snd_soc_dai_link simtec_dai_aic23 = { | |||
88 | .codec_name = "tlv320aic3x-codec.0-0x1a", | 88 | .codec_name = "tlv320aic3x-codec.0-0x1a", |
89 | .cpu_dai_name = "s3c24xx-i2s", | 89 | .cpu_dai_name = "s3c24xx-i2s", |
90 | .codec_dai_name = "tlv320aic3x-hifi", | 90 | .codec_dai_name = "tlv320aic3x-hifi", |
91 | .platform_name = "s3c24xx-pcm-audio", | 91 | .platform_name = "samsung-audio", |
92 | .init = simtec_tlv320aic23_init, | 92 | .init = simtec_tlv320aic23_init, |
93 | }; | 93 | }; |
94 | 94 | ||
diff --git a/sound/soc/s3c24xx/s3c24xx_uda134x.c b/sound/soc/s3c24xx/s3c24xx_uda134x.c index 4f1eeb64b4c4..0bdfc6bbf778 100644 --- a/sound/soc/s3c24xx/s3c24xx_uda134x.c +++ b/sound/soc/s3c24xx/s3c24xx_uda134x.c | |||
@@ -230,7 +230,7 @@ static struct snd_soc_dai_link s3c24xx_uda134x_dai_link = { | |||
230 | .codec_dai_name = "uda134x-hifi", | 230 | .codec_dai_name = "uda134x-hifi", |
231 | .cpu_dai_name = "s3c24xx-i2s", | 231 | .cpu_dai_name = "s3c24xx-i2s", |
232 | .ops = &s3c24xx_uda134x_ops, | 232 | .ops = &s3c24xx_uda134x_ops, |
233 | .platform_name = "s3c24xx-pcm-audio", | 233 | .platform_name = "samsung-audio", |
234 | }; | 234 | }; |
235 | 235 | ||
236 | static struct snd_soc_card snd_soc_s3c24xx_uda134x = { | 236 | static struct snd_soc_card snd_soc_s3c24xx_uda134x = { |
diff --git a/sound/soc/s3c24xx/smartq_wm8987.c b/sound/soc/s3c24xx/smartq_wm8987.c index 5b07bb9802ee..ca83e1878666 100644 --- a/sound/soc/s3c24xx/smartq_wm8987.c +++ b/sound/soc/s3c24xx/smartq_wm8987.c | |||
@@ -214,7 +214,7 @@ static struct snd_soc_dai_link smartq_dai[] = { | |||
214 | .stream_name = "SmartQ Hi-Fi", | 214 | .stream_name = "SmartQ Hi-Fi", |
215 | .cpu_dai_name = "s3c64xx-i2s.0", | 215 | .cpu_dai_name = "s3c64xx-i2s.0", |
216 | .codec_dai_name = "wm8750-hifi", | 216 | .codec_dai_name = "wm8750-hifi", |
217 | .platform_name = "s3c24xx-pcm-audio", | 217 | .platform_name = "samsung-audio", |
218 | .codec_name = "wm8750-codec.0-0x1a", | 218 | .codec_name = "wm8750-codec.0-0x1a", |
219 | .init = smartq_wm8987_init, | 219 | .init = smartq_wm8987_init, |
220 | .ops = &smartq_hifi_ops, | 220 | .ops = &smartq_hifi_ops, |
diff --git a/sound/soc/s3c24xx/smdk2443_wm9710.c b/sound/soc/s3c24xx/smdk2443_wm9710.c index ec05df92234b..50d707793511 100644 --- a/sound/soc/s3c24xx/smdk2443_wm9710.c +++ b/sound/soc/s3c24xx/smdk2443_wm9710.c | |||
@@ -30,7 +30,7 @@ static struct snd_soc_dai_link smdk2443_dai[] = { | |||
30 | .cpu_dai_name = "s3c-ac97", | 30 | .cpu_dai_name = "s3c-ac97", |
31 | .codec_dai_name = "ac97-hifi", | 31 | .codec_dai_name = "ac97-hifi", |
32 | .codec_name = "ac97-codec", | 32 | .codec_name = "ac97-codec", |
33 | .platform_name = "s3c24xx-pcm-audio", | 33 | .platform_name = "samsung-audio", |
34 | }, | 34 | }, |
35 | }; | 35 | }; |
36 | 36 | ||
diff --git a/sound/soc/s3c24xx/smdk64xx_wm8580.c b/sound/soc/s3c24xx/smdk64xx_wm8580.c index e6b461cce191..3ed8bd098c4b 100644 --- a/sound/soc/s3c24xx/smdk64xx_wm8580.c +++ b/sound/soc/s3c24xx/smdk64xx_wm8580.c | |||
@@ -225,7 +225,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { | |||
225 | .stream_name = "Playback", | 225 | .stream_name = "Playback", |
226 | .cpu_dai_name = "s3c64xx-iis-v4", | 226 | .cpu_dai_name = "s3c64xx-iis-v4", |
227 | .codec_dai_name = "wm8580-hifi-playback", | 227 | .codec_dai_name = "wm8580-hifi-playback", |
228 | .platform_name = "s3c24xx-pcm-audio", | 228 | .platform_name = "samsung-audio", |
229 | .codec_name = "wm8580-codec.0-001b", | 229 | .codec_name = "wm8580-codec.0-001b", |
230 | .init = smdk64xx_wm8580_init_paifrx, | 230 | .init = smdk64xx_wm8580_init_paifrx, |
231 | .ops = &smdk64xx_ops, | 231 | .ops = &smdk64xx_ops, |
@@ -235,7 +235,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { | |||
235 | .stream_name = "Capture", | 235 | .stream_name = "Capture", |
236 | .cpu_dai_name = "s3c64xx-iis-v4", | 236 | .cpu_dai_name = "s3c64xx-iis-v4", |
237 | .codec_dai_name = "wm8580-hifi-capture", | 237 | .codec_dai_name = "wm8580-hifi-capture", |
238 | .platform_name = "s3c24xx-pcm-audio", | 238 | .platform_name = "samsung-audio", |
239 | .codec_name = "wm8580-codec.0-001b", | 239 | .codec_name = "wm8580-codec.0-001b", |
240 | .init = smdk64xx_wm8580_init_paiftx, | 240 | .init = smdk64xx_wm8580_init_paiftx, |
241 | .ops = &smdk64xx_ops, | 241 | .ops = &smdk64xx_ops, |
diff --git a/sound/soc/s3c24xx/smdk_spdif.c b/sound/soc/s3c24xx/smdk_spdif.c index c8bd90488a87..362957942994 100644 --- a/sound/soc/s3c24xx/smdk_spdif.c +++ b/sound/soc/s3c24xx/smdk_spdif.c | |||
@@ -157,7 +157,7 @@ static struct snd_soc_card smdk; | |||
157 | static struct snd_soc_dai_link smdk_dai = { | 157 | static struct snd_soc_dai_link smdk_dai = { |
158 | .name = "S/PDIF", | 158 | .name = "S/PDIF", |
159 | .stream_name = "S/PDIF PCM Playback", | 159 | .stream_name = "S/PDIF PCM Playback", |
160 | .platform_name = "s3c24xx-pcm-audio", | 160 | .platform_name = "samsung-audio", |
161 | .cpu_dai_name = "samsung-spdif", | 161 | .cpu_dai_name = "samsung-spdif", |
162 | .codec_dai_name = "dit-hifi", | 162 | .codec_dai_name = "dit-hifi", |
163 | .codec_name = "spdif-dit", | 163 | .codec_name = "spdif-dit", |
diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c index 33ba8fdbcf07..ea96a519e02f 100644 --- a/sound/soc/s3c24xx/smdk_wm9713.c +++ b/sound/soc/s3c24xx/smdk_wm9713.c | |||
@@ -45,7 +45,7 @@ static struct snd_soc_card smdk; | |||
45 | static struct snd_soc_dai_link smdk_dai = { | 45 | static struct snd_soc_dai_link smdk_dai = { |
46 | .name = "AC97", | 46 | .name = "AC97", |
47 | .stream_name = "AC97 PCM", | 47 | .stream_name = "AC97 PCM", |
48 | .platform_name = "s3c24xx-pcm-audio", | 48 | .platform_name = "samsung-audio", |
49 | .cpu_dai_name = "s3c-ac97", | 49 | .cpu_dai_name = "s3c-ac97", |
50 | .codec_dai_name = "wm9713-hifi", | 50 | .codec_dai_name = "wm9713-hifi", |
51 | .codec_name = "wm9713-codec", | 51 | .codec_name = "wm9713-codec", |