aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-18 12:20:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-18 12:20:37 -0400
commit6f128fa344833bf8bf076a51d14401661c146470 (patch)
tree70049d2b394e86c3c3d06961c155cae45ce47ca7 /sound/soc
parent73c583e4e2dd0fbbf2fafe0cc57ff75314fe72df (diff)
parent85609c1ccda64af7d7c277469183f20e4f3b69c3 (diff)
Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
* 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci: (62 commits) DaVinci: DM646x - platform changes for vpif capture and display drivers davinci: DM355 - platform changes for vpfe capture davinci: DM644x platform changes for vpfe capture davinci: audio: move tlv320aic33 i2c setup into board files DaVinci: EDMA: Adding 2 new APIs for allocating/freeing PARAMs DaVinci: DM365: Adding entries for DM365 IRQ's DaVinci: DM355: Adding PINMUX entries for DM355 Display davinci: Handle pinmux conflict between mmc/sd and nor flash davinci: Add NOR flash support for da850/omap-l138 davinci: Add NAND flash support for DA850/OMAP-L138 davinci: Add MMC/SD support for da850/omap-l138 davinci: Add platform support for da850/omap-l138 GLCD davinci: Macro to convert GPIO signal to GPIO pin number davinci: Audio support for DA850/OMAP-L138 EVM davinci: Audio support for DA830 EVM davinci: Correct the number of GPIO pins for da850/omap-l138 davinci: Configure MDIO pins for EMAC DaVinci: DM365: Add Support for new Revision of silicon DaVinci: DM365: Fix Compilation issue due to PINMUX entry DaVinci: EDMA: Updating default queue handling ...
Diffstat (limited to 'sound/soc')
-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 091dacb78b4d..2f7da49ed34f 100644
--- a/sound/soc/davinci/davinci-pcm.c
+++ b/sound/soc/davinci/davinci-pcm.c
@@ -145,7 +145,7 @@ static int davinci_pcm_dma_request(struct snd_pcm_substream *substream)
145 prtd->master_lch = ret; 145 prtd->master_lch = ret;
146 146
147 /* Request parameter RAM reload slot */ 147 /* Request parameter RAM reload slot */
148 ret = edma_alloc_slot(EDMA_SLOT_ANY); 148 ret = edma_alloc_slot(EDMA_CTLR(prtd->master_lch), EDMA_SLOT_ANY);
149 if (ret < 0) { 149 if (ret < 0) {
150 edma_free_channel(prtd->master_lch); 150 edma_free_channel(prtd->master_lch);
151 return ret; 151 return ret;
@@ -162,8 +162,8 @@ static int davinci_pcm_dma_request(struct snd_pcm_substream *substream)
162 * so davinci_pcm_enqueue_dma() takes less time in IRQ. 162 * so davinci_pcm_enqueue_dma() takes less time in IRQ.
163 */ 163 */
164 edma_read_slot(prtd->slave_lch, &p_ram); 164 edma_read_slot(prtd->slave_lch, &p_ram);
165 p_ram.opt |= TCINTEN | EDMA_TCC(prtd->master_lch); 165 p_ram.opt |= TCINTEN | EDMA_TCC(EDMA_CHAN_SLOT(prtd->master_lch));
166 p_ram.link_bcntrld = prtd->slave_lch << 5; 166 p_ram.link_bcntrld = EDMA_CHAN_SLOT(prtd->slave_lch) << 5;
167 edma_write_slot(prtd->slave_lch, &p_ram); 167 edma_write_slot(prtd->slave_lch, &p_ram);
168 168
169 return 0; 169 return 0;