diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-02-18 03:59:08 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-23 13:57:40 -0500 |
commit | 1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449 (patch) | |
tree | a9c3ca32f4b2e9c07c789c09964a6d9c64647fb7 /arch | |
parent | b7ebb10b0a9793effa4a74a3c29049b44c6b8176 (diff) |
omap4: sdma: Enable the idle modes on omap4
This patch enables smart-idle idlemodes and autoidle for sDMA
on OMAP4
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 30ff525fe33c..5ec96db83779 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -2138,7 +2138,7 @@ static int __init omap_init_dma(void) | |||
2138 | setup_irq(irq, &omap24xx_dma_irq); | 2138 | setup_irq(irq, &omap24xx_dma_irq); |
2139 | } | 2139 | } |
2140 | 2140 | ||
2141 | if (cpu_is_omap34xx()) { | 2141 | if (cpu_is_omap34xx() || cpu_is_omap44xx()) { |
2142 | /* Enable smartidle idlemodes and autoidle */ | 2142 | /* Enable smartidle idlemodes and autoidle */ |
2143 | u32 v = dma_read(OCP_SYSCONFIG); | 2143 | u32 v = dma_read(OCP_SYSCONFIG); |
2144 | v &= ~(DMA_SYSCONFIG_MIDLEMODE_MASK | | 2144 | v &= ~(DMA_SYSCONFIG_MIDLEMODE_MASK | |