aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-06 11:01:27 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-06 11:01:27 -0400
commit907bc6c7fc7071b00083fc11e510e47dd93df45d (patch)
tree0697a608561522c00da9e1814974a2eb051bb96d /sound/soc/davinci
parentd2b247a8be57647d1745535acd58169fbcbe431a (diff)
parent2a0f5cb32772e9a9560209e241a80bfbbc31dbc3 (diff)
Merge branch 'for-2.6.32' into for-2.6.33
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r--sound/soc/davinci/davinci-pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c
index 1152d8ba897..fb10f1d63fd 100644
--- a/sound/soc/davinci/davinci-pcm.c
+++ b/sound/soc/davinci/davinci-pcm.c
@@ -153,7 +153,7 @@ static int davinci_pcm_dma_request(struct snd_pcm_substream *substream)
153 prtd->master_lch = ret; 153 prtd->master_lch = ret;
154 154
155 /* Request parameter RAM reload slot */ 155 /* Request parameter RAM reload slot */
156 ret = edma_alloc_slot(EDMA_SLOT_ANY); 156 ret = edma_alloc_slot(EDMA_CTLR(prtd->master_lch), EDMA_SLOT_ANY);
157 if (ret < 0) { 157 if (ret < 0) {
158 edma_free_channel(prtd->master_lch); 158 edma_free_channel(prtd->master_lch);
159 return ret; 159 return ret;
@@ -170,8 +170,8 @@ static int davinci_pcm_dma_request(struct snd_pcm_substream *substream)
170 * so davinci_pcm_enqueue_dma() takes less time in IRQ. 170 * so davinci_pcm_enqueue_dma() takes less time in IRQ.
171 */ 171 */
172 edma_read_slot(prtd->slave_lch, &p_ram); 172 edma_read_slot(prtd->slave_lch, &p_ram);
173 p_ram.opt |= TCINTEN | EDMA_TCC(prtd->master_lch); 173 p_ram.opt |= TCINTEN | EDMA_TCC(EDMA_CHAN_SLOT(prtd->master_lch));
174 p_ram.link_bcntrld = prtd->slave_lch << 5; 174 p_ram.link_bcntrld = EDMA_CHAN_SLOT(prtd->slave_lch) << 5;
175 edma_write_slot(prtd->slave_lch, &p_ram); 175 edma_write_slot(prtd->slave_lch, &p_ram);
176 176
177 return 0; 177 return 0;