From ef40b0ae43d8178a572b4cfdc6953e018898da3b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 21 Nov 2006 15:58:39 +0000 Subject: [PATCH] Coldfire: Add DMA auto alignment to pcm recording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11563 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/pcm-coldfire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) INTERRUPTCLEAR = 0x03c00000; #endif - DCR1 = DMA_INT | DMA_EEXT | DMA_CS | DMA_DINC | + DCR1 = DMA_INT | DMA_EEXT | DMA_CS | DMA_AA | DMA_DINC | DMA_DSIZE(3) | DMA_START; } /* pcm_dma_start */