aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-04-23 09:14:18 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:43 -0400
commitb32432e3f2d386d9563669c8cfdeaa473bfd8572 (patch)
treea8b1535fc7ff42a9cf4e7b5c58f5a267998c9285 /sound/soc
parent22cd630285b6a12a50f02dfb23c531f151be5499 (diff)
[ALSA] soc - pxa2xx-pcm - Fix checkpatch warnings
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/pxa/pxa2xx-pcm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index daeaa4c8b876..01ad7bf716b7 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -64,8 +64,8 @@ static void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id)
64 if (dcsr & DCSR_ENDINTR) { 64 if (dcsr & DCSR_ENDINTR) {
65 snd_pcm_period_elapsed(substream); 65 snd_pcm_period_elapsed(substream);
66 } else { 66 } else {
67 printk( KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n", 67 printk(KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n",
68 prtd->params->name, dma_ch, dcsr ); 68 prtd->params->name, dma_ch, dcsr);
69 } 69 }
70} 70}
71 71
@@ -84,8 +84,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
84 84
85 /* return if this is a bufferless transfer e.g. 85 /* return if this is a bufferless transfer e.g.
86 * codec <--> BT codec or GSM modem -- lg FIXME */ 86 * codec <--> BT codec or GSM modem -- lg FIXME */
87 if (!dma) 87 if (!dma)
88 return 0; 88 return 0;
89 89
90 /* this may get called several times by oss emulation 90 /* this may get called several times by oss emulation
91 * with different params */ 91 * with different params */
@@ -363,7 +363,6 @@ struct snd_soc_platform pxa2xx_soc_platform = {
363 .pcm_new = pxa2xx_pcm_new, 363 .pcm_new = pxa2xx_pcm_new,
364 .pcm_free = pxa2xx_pcm_free_dma_buffers, 364 .pcm_free = pxa2xx_pcm_free_dma_buffers,
365}; 365};
366
367EXPORT_SYMBOL_GPL(pxa2xx_soc_platform); 366EXPORT_SYMBOL_GPL(pxa2xx_soc_platform);
368 367
369MODULE_AUTHOR("Nicolas Pitre"); 368MODULE_AUTHOR("Nicolas Pitre");