forked from len0rd/rockbox
Keep the clocks enabled once the LCD DMA transfer completes. It kills the PCM driver if they are disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29238 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fff80b038c
commit
a6223468eb
1 changed files with 0 additions and 8 deletions
|
|
@ -380,10 +380,6 @@ static void dma_start_transfer16( char *src, int src_x, int src_y, int stride,
|
||||||
dst += (stride*pix_width);
|
dst += (stride*pix_width);
|
||||||
height--;
|
height--;
|
||||||
} while(height>0);
|
} while(height>0);
|
||||||
|
|
||||||
/* Disable image buffer clock */
|
|
||||||
bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF);
|
|
||||||
bitclr16(&COP_CP_CLKC, 0x0001);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void dma_start_transfer16( char *src, int src_x, int src_y, int stride,
|
static void dma_start_transfer16( char *src, int src_x, int src_y, int stride,
|
||||||
|
|
@ -461,10 +457,6 @@ static void dma_start_transfer16( char *src, int src_x, int src_y, int stride,
|
||||||
dst -= (stride*pix_width);
|
dst -= (stride*pix_width);
|
||||||
width--;
|
width--;
|
||||||
} while(width>0);
|
} while(width>0);
|
||||||
|
|
||||||
/* Disable image buffer clock */
|
|
||||||
bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF);
|
|
||||||
bitclr16(&COP_CP_CLKC, 0x0001);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue