summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/pcm-coldfire.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-21 15:58:39 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-21 15:58:39 +0000
commitef40b0ae43d8178a572b4cfdc6953e018898da3b (patch)
treeabb2ab9254c1c06977f4ef76ebf10e593b39319f /firmware/target/coldfire/pcm-coldfire.c
parent85deab1b18bef8b8595b0d10ca835ac1a336e778 (diff)
downloadrockbox-ef40b0ae43d8178a572b4cfdc6953e018898da3b.tar.gz
rockbox-ef40b0ae43d8178a572b4cfdc6953e018898da3b.zip
Coldfire: Add DMA auto alignment to pcm recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11563 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/pcm-coldfire.c')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index 0048c9990c..9cd66d772a 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -379,7 +379,7 @@ void pcm_rec_dma_start(const void *addr, size_t size)
379 INTERRUPTCLEAR = 0x03c00000; 379 INTERRUPTCLEAR = 0x03c00000;
380#endif 380#endif
381 381
382 DCR1 = DMA_INT | DMA_EEXT | DMA_CS | DMA_DINC | 382 DCR1 = DMA_INT | DMA_EEXT | DMA_CS | DMA_AA | DMA_DINC |
383 DMA_DSIZE(3) | DMA_START; 383 DMA_DSIZE(3) | DMA_START;
384} /* pcm_dma_start */ 384} /* pcm_dma_start */
385 385