|
@@ -195,8 +195,12 @@ static int omap_pcm_prepare(struct snd_pcm_substream *substream)
|
|
else
|
|
else
|
|
omap_enable_dma_irq(prtd->dma_ch, OMAP_DMA_FRAME_IRQ);
|
|
omap_enable_dma_irq(prtd->dma_ch, OMAP_DMA_FRAME_IRQ);
|
|
|
|
|
|
- omap_set_dma_src_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
|
|
|
|
- omap_set_dma_dest_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
|
|
|
|
|
|
+ if (!(cpu_class_is_omap1())) {
|
|
|
|
+ omap_set_dma_src_burst_mode(prtd->dma_ch,
|
|
|
|
+ OMAP_DMA_DATA_BURST_16);
|
|
|
|
+ omap_set_dma_dest_burst_mode(prtd->dma_ch,
|
|
|
|
+ OMAP_DMA_DATA_BURST_16);
|
|
|
|
+ }
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|