summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2011-02-06 21:09:03 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2011-02-06 21:09:03 +0000
commita6223468ebbd1f6c4143432b743f3a0ec31f7d64 (patch)
tree2f05ccea54dc8d0a47107f01879dc22438e6c34b
parentfff80b038ca2475e0bfdf6ea185a5b128e00874e (diff)
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
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c8
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,
dst += (stride*pix_width);
height--;
} while(height>0);
-
- /* Disable image buffer clock */
- bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF);
- bitclr16(&COP_CP_CLKC, 0x0001);
}
#else
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);
width--;
} while(width>0);
-
- /* Disable image buffer clock */
- bitclr16(&IO_CLK_MOD1, CLK_MOD1_IMGBUF);
- bitclr16(&COP_CP_CLKC, 0x0001);
}
#endif
#endif