diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 21:09:03 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 21:09:03 +0000 |
commit | a6223468ebbd1f6c4143432b743f3a0ec31f7d64 (patch) | |
tree | 2f05ccea54dc8d0a47107f01879dc22438e6c34b /firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | |
parent | fff80b038ca2475e0bfdf6ea185a5b128e00874e (diff) | |
download | rockbox-a6223468ebbd1f6c4143432b743f3a0ec31f7d64.tar.gz rockbox-a6223468ebbd1f6c4143432b743f3a0ec31f7d64.zip |
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
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c index 88b6539d66..94163eddbe 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | |||
@@ -380,10 +380,6 @@ static void dma_start_transfer16( char *src, int src_x, int src_y, int stride, | |||
380 | dst += (stride*pix_width); | 380 | dst += (stride*pix_width); |
381 | height--; | 381 | height--; |
382 | } while(height>0); | 382 | } while(height>0); |
383 | |||
384 | /* Disable image buffer clock */ | ||
385 | bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF); | ||
386 | bitclr16(&COP_CP_CLKC, 0x0001); | ||
387 | } | 383 | } |
388 | #else | 384 | #else |
389 | static void dma_start_transfer16( char *src, int src_x, int src_y, int stride, | 385 | 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, | |||
461 | dst -= (stride*pix_width); | 457 | dst -= (stride*pix_width); |
462 | width--; | 458 | width--; |
463 | } while(width>0); | 459 | } while(width>0); |
464 | |||
465 | /* Disable image buffer clock */ | ||
466 | bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF); | ||
467 | bitclr16(&COP_CP_CLKC, 0x0001); | ||
468 | } | 460 | } |
469 | #endif | 461 | #endif |
470 | #endif | 462 | #endif |