diff options
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.c')
-rw-r--r-- | sound/soc/davinci/davinci-pcm.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index afab81f844ae..b2f27c2e5fdc 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c | |||
@@ -200,7 +200,7 @@ static void davinci_pcm_enqueue_dma(struct snd_pcm_substream *substream) | |||
200 | src = dma_pos; | 200 | src = dma_pos; |
201 | dst = prtd->params->dma_addr; | 201 | dst = prtd->params->dma_addr; |
202 | src_bidx = data_type; | 202 | src_bidx = data_type; |
203 | dst_bidx = 0; | 203 | dst_bidx = 4; |
204 | src_cidx = data_type * fifo_level; | 204 | src_cidx = data_type * fifo_level; |
205 | dst_cidx = 0; | 205 | dst_cidx = 0; |
206 | } else { | 206 | } else { |
@@ -223,9 +223,10 @@ static void davinci_pcm_enqueue_dma(struct snd_pcm_substream *substream) | |||
223 | edma_set_transfer_params(prtd->asp_link[0], acnt, count, 1, 0, | 223 | edma_set_transfer_params(prtd->asp_link[0], acnt, count, 1, 0, |
224 | ASYNC); | 224 | ASYNC); |
225 | else | 225 | else |
226 | edma_set_transfer_params(prtd->asp_link[0], acnt, fifo_level, | 226 | edma_set_transfer_params(prtd->asp_link[0], acnt, |
227 | count, fifo_level, | 227 | fifo_level, |
228 | ABSYNC); | 228 | count, fifo_level, |
229 | ABSYNC); | ||
229 | } | 230 | } |
230 | 231 | ||
231 | static void davinci_pcm_dma_irq(unsigned link, u16 ch_status, void *data) | 232 | static void davinci_pcm_dma_irq(unsigned link, u16 ch_status, void *data) |