提交 b32432e3 编写于 作者: M Mark Brown 提交者: Takashi Iwai

[ALSA] soc - pxa2xx-pcm - Fix checkpatch warnings

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 22cd6302
...@@ -64,8 +64,8 @@ static void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id) ...@@ -64,8 +64,8 @@ static void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id)
if (dcsr & DCSR_ENDINTR) { if (dcsr & DCSR_ENDINTR) {
snd_pcm_period_elapsed(substream); snd_pcm_period_elapsed(substream);
} else { } else {
printk( KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n", printk(KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n",
prtd->params->name, dma_ch, dcsr ); prtd->params->name, dma_ch, dcsr);
} }
} }
...@@ -84,8 +84,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, ...@@ -84,8 +84,8 @@ static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
/* return if this is a bufferless transfer e.g. /* return if this is a bufferless transfer e.g.
* codec <--> BT codec or GSM modem -- lg FIXME */ * codec <--> BT codec or GSM modem -- lg FIXME */
if (!dma) if (!dma)
return 0; return 0;
/* this may get called several times by oss emulation /* this may get called several times by oss emulation
* with different params */ * with different params */
...@@ -363,7 +363,6 @@ struct snd_soc_platform pxa2xx_soc_platform = { ...@@ -363,7 +363,6 @@ struct snd_soc_platform pxa2xx_soc_platform = {
.pcm_new = pxa2xx_pcm_new, .pcm_new = pxa2xx_pcm_new,
.pcm_free = pxa2xx_pcm_free_dma_buffers, .pcm_free = pxa2xx_pcm_free_dma_buffers,
}; };
EXPORT_SYMBOL_GPL(pxa2xx_soc_platform); EXPORT_SYMBOL_GPL(pxa2xx_soc_platform);
MODULE_AUTHOR("Nicolas Pitre"); MODULE_AUTHOR("Nicolas Pitre");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册