aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-06 16:20:10 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-06 16:20:10 -0400
commitc6799ade4ae04b53a5f677e5289116155ff01574 (patch)
tree3601b5e2387e39d62c207e4268c6cc5c68f2a364 /sound
parentb7405e16435f710edfae6ba32bef4ca20d3de145 (diff)
parent5cd47155155a32e5b944ac9fc3f3dc578e429aa0 (diff)
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (82 commits) [ARM] Add comments marking in-use ptrace numbers [ARM] Move syscall saving out of the way of utrace [ARM] 4360/1: S3C24XX: regs-udc.h remove unused macro [ARM] 4358/1: S3C24XX: mach-qt2410.c: remove linux/mmc/protocol.h header [ARM] mm 10: allow memory type to be specified with ioremap [ARM] mm 9: add additional device memory types [ARM] mm 8: define mem_types table L1 bit 4 to be for ARMv6 [ARM] iop: add missing parens in macro [ARM] mm 7: remove duplicated __ioremap() prototypes ARM: OMAP: fix OMAP1 mpuio suspend/resume oops ARM: OMAP: MPUIO wake updates ARM: OMAP: speed up gpio irq handling ARM: OMAP: plat-omap changes for 2430 SDP ARM: OMAP: gpio object shrinkage, cleanup ARM: OMAP: /sys/kernel/debug/omap_gpio ARM: OMAP: Implement workaround for GPIO wakeup bug in OMAP2420 silicon ARM: OMAP: Enable 24xx GPIO autoidling [ARM] 4318/2: DSM-G600 Board Support [ARM] 4227/1: minor head.S fixups [ARM] 4328/1: Move i.MX UART regs to driver ...
Diffstat (limited to 'sound')
-rw-r--r--sound/arm/pxa2xx-ac97.c12
-rw-r--r--sound/soc/pxa/pxa2xx-ac97.c12
-rw-r--r--sound/soc/pxa/pxa2xx-i2s.c4
3 files changed, 14 insertions, 14 deletions
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c
index 28db4be7a16f..19c65a8d86a7 100644
--- a/sound/arm/pxa2xx-ac97.c
+++ b/sound/arm/pxa2xx-ac97.c
@@ -260,7 +260,7 @@ static int pxa2xx_ac97_do_suspend(struct snd_card *card, pm_message_t state)
260 if (platform_ops && platform_ops->suspend) 260 if (platform_ops && platform_ops->suspend)
261 platform_ops->suspend(platform_ops->priv); 261 platform_ops->suspend(platform_ops->priv);
262 GCR |= GCR_ACLINK_OFF; 262 GCR |= GCR_ACLINK_OFF;
263 pxa_set_cken(CKEN2_AC97, 0); 263 pxa_set_cken(CKEN_AC97, 0);
264 264
265 return 0; 265 return 0;
266} 266}
@@ -269,7 +269,7 @@ static int pxa2xx_ac97_do_resume(struct snd_card *card)
269{ 269{
270 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; 270 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data;
271 271
272 pxa_set_cken(CKEN2_AC97, 1); 272 pxa_set_cken(CKEN_AC97, 1);
273 if (platform_ops && platform_ops->resume) 273 if (platform_ops && platform_ops->resume)
274 platform_ops->resume(platform_ops->priv); 274 platform_ops->resume(platform_ops->priv);
275 snd_ac97_resume(pxa2xx_ac97_ac97); 275 snd_ac97_resume(pxa2xx_ac97_ac97);
@@ -337,7 +337,7 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev)
337 /* Use GPIO 113 as AC97 Reset on Bulverde */ 337 /* Use GPIO 113 as AC97 Reset on Bulverde */
338 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT); 338 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
339#endif 339#endif
340 pxa_set_cken(CKEN2_AC97, 1); 340 pxa_set_cken(CKEN_AC97, 1);
341 341
342 ret = snd_ac97_bus(card, 0, &pxa2xx_ac97_ops, NULL, &ac97_bus); 342 ret = snd_ac97_bus(card, 0, &pxa2xx_ac97_ops, NULL, &ac97_bus);
343 if (ret) 343 if (ret)
@@ -361,10 +361,10 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev)
361 err: 361 err:
362 if (card) 362 if (card)
363 snd_card_free(card); 363 snd_card_free(card);
364 if (CKEN & CKEN2_AC97) { 364 if (CKEN & CKEN_AC97) {
365 GCR |= GCR_ACLINK_OFF; 365 GCR |= GCR_ACLINK_OFF;
366 free_irq(IRQ_AC97, NULL); 366 free_irq(IRQ_AC97, NULL);
367 pxa_set_cken(CKEN2_AC97, 0); 367 pxa_set_cken(CKEN_AC97, 0);
368 } 368 }
369 return ret; 369 return ret;
370} 370}
@@ -378,7 +378,7 @@ static int __devexit pxa2xx_ac97_remove(struct platform_device *dev)
378 platform_set_drvdata(dev, NULL); 378 platform_set_drvdata(dev, NULL);
379 GCR |= GCR_ACLINK_OFF; 379 GCR |= GCR_ACLINK_OFF;
380 free_irq(IRQ_AC97, NULL); 380 free_irq(IRQ_AC97, NULL);
381 pxa_set_cken(CKEN2_AC97, 0); 381 pxa_set_cken(CKEN_AC97, 0);
382 } 382 }
383 383
384 return 0; 384 return 0;
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 1bbbeff84ef0..b222755763e7 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -256,7 +256,7 @@ static int pxa2xx_ac97_suspend(struct platform_device *pdev,
256 struct snd_soc_cpu_dai *dai) 256 struct snd_soc_cpu_dai *dai)
257{ 257{
258 GCR |= GCR_ACLINK_OFF; 258 GCR |= GCR_ACLINK_OFF;
259 pxa_set_cken(CKEN2_AC97, 0); 259 pxa_set_cken(CKEN_AC97, 0);
260 return 0; 260 return 0;
261} 261}
262 262
@@ -271,7 +271,7 @@ static int pxa2xx_ac97_resume(struct platform_device *pdev,
271 /* Use GPIO 113 as AC97 Reset on Bulverde */ 271 /* Use GPIO 113 as AC97 Reset on Bulverde */
272 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT); 272 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
273#endif 273#endif
274 pxa_set_cken(CKEN2_AC97, 1); 274 pxa_set_cken(CKEN_AC97, 1);
275 return 0; 275 return 0;
276} 276}
277 277
@@ -296,14 +296,14 @@ static int pxa2xx_ac97_probe(struct platform_device *pdev)
296 /* Use GPIO 113 as AC97 Reset on Bulverde */ 296 /* Use GPIO 113 as AC97 Reset on Bulverde */
297 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT); 297 pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
298#endif 298#endif
299 pxa_set_cken(CKEN2_AC97, 1); 299 pxa_set_cken(CKEN_AC97, 1);
300 return 0; 300 return 0;
301 301
302 err: 302 err:
303 if (CKEN & CKEN2_AC97) { 303 if (CKEN & CKEN_AC97) {
304 GCR |= GCR_ACLINK_OFF; 304 GCR |= GCR_ACLINK_OFF;
305 free_irq(IRQ_AC97, NULL); 305 free_irq(IRQ_AC97, NULL);
306 pxa_set_cken(CKEN2_AC97, 0); 306 pxa_set_cken(CKEN_AC97, 0);
307 } 307 }
308 return ret; 308 return ret;
309} 309}
@@ -312,7 +312,7 @@ static void pxa2xx_ac97_remove(struct platform_device *pdev)
312{ 312{
313 GCR |= GCR_ACLINK_OFF; 313 GCR |= GCR_ACLINK_OFF;
314 free_irq(IRQ_AC97, NULL); 314 free_irq(IRQ_AC97, NULL);
315 pxa_set_cken(CKEN2_AC97, 0); 315 pxa_set_cken(CKEN_AC97, 0);
316} 316}
317 317
318static int pxa2xx_ac97_hw_params(struct snd_pcm_substream *substream, 318static int pxa2xx_ac97_hw_params(struct snd_pcm_substream *substream,
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c
index 575a6137c040..50c5c83f67db 100644
--- a/sound/soc/pxa/pxa2xx-i2s.c
+++ b/sound/soc/pxa/pxa2xx-i2s.c
@@ -149,7 +149,7 @@ static int pxa2xx_i2s_hw_params(struct snd_pcm_substream *substream,
149 pxa_gpio_mode(gpio_bus[pxa_i2s.master].tx); 149 pxa_gpio_mode(gpio_bus[pxa_i2s.master].tx);
150 pxa_gpio_mode(gpio_bus[pxa_i2s.master].frm); 150 pxa_gpio_mode(gpio_bus[pxa_i2s.master].frm);
151 pxa_gpio_mode(gpio_bus[pxa_i2s.master].clk); 151 pxa_gpio_mode(gpio_bus[pxa_i2s.master].clk);
152 pxa_set_cken(CKEN8_I2S, 1); 152 pxa_set_cken(CKEN_I2S, 1);
153 pxa_i2s_wait(); 153 pxa_i2s_wait();
154 154
155 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 155 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
@@ -234,7 +234,7 @@ static void pxa2xx_i2s_shutdown(struct snd_pcm_substream *substream)
234 if (SACR1 & (SACR1_DREC | SACR1_DRPL)) { 234 if (SACR1 & (SACR1_DREC | SACR1_DRPL)) {
235 SACR0 &= ~SACR0_ENB; 235 SACR0 &= ~SACR0_ENB;
236 pxa_i2s_wait(); 236 pxa_i2s_wait();
237 pxa_set_cken(CKEN8_I2S, 0); 237 pxa_set_cken(CKEN_I2S, 0);
238 } 238 }
239} 239}
240 240