1
0
Fork 0
forked from len0rd/rockbox

TMS320DM320: Turn on Image Buffer clock on demand (FS #12462)

This improves battery runtime on Sansa Connect by approximately 40 minutes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31358 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomasz Moń 2011-12-19 06:39:07 +00:00
parent 2d8fd040d8
commit b98d03f4c3
6 changed files with 163 additions and 140 deletions

View file

@ -79,9 +79,6 @@ void pcm_play_dma_init(void)
/* Enable the HPIB clock */
bitset16(&IO_CLK_MOD0, (CLK_MOD0_HPIB | CLK_MOD0_DSP));
/* Enable IMGBUF clock */
bitset16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF);
dma_channel = dma_request_channel(DMA_PERIPHERAL_DSP,
DMA_MODE_1_BURST);