1
0
Fork 0
forked from len0rd/rockbox

no need to prefill the i2s fifo

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcoen Hirschberg 2006-12-29 15:45:51 +00:00
parent 23a0823b84
commit 5dc0abda11

View file

@ -133,13 +133,6 @@ void pcm_play_dma_start(const void *addr, size_t size)
/* connect DMA to the FIFO and enable the FIFO */ /* connect DMA to the FIFO and enable the FIFO */
IISFCON = (1<<15) | (1<<13); IISFCON = (1<<15) | (1<<13);
/* prefill the FIFO with half words */
for (i=0; i < IIS_FIFO_SIZE; i+=2)
{
IISFIFO = *p++;
p_size -= 2;
}
/* set DMA dest */ /* set DMA dest */
DIDST2 = (int)&IISFIFO; DIDST2 = (int)&IISFIFO;