Sansa AMSv2: Do not disable DMA synchronization logic for as3525v2. The DMA controller and the SD controller run at different clock speeds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25532 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jack Halpin 2010-04-08 06:12:51 +00:00
parent 286fcfe8b1
commit d7c8d34999

View file

@ -24,6 +24,7 @@
#include "pl081.h"
#include "dma-target.h"
#include "panic.h"
#include "config.h"
static int dma_used = 0;
static void (*dma_callback[2])(void); /* 2 channels */
@ -48,7 +49,9 @@ void dma_release(void)
void dma_init(void)
{
#if CONFIG_CPU == AS3525
DMAC_SYNC = 0xffff; /* disable synchronisation logic */
#endif
VIC_INT_ENABLE = INTERRUPT_DMAC;
}