omap4: sdma: Enable the idle modes on omap4
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 18 Feb 2010 08:59:08 +0000 (08:59 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Feb 2010 18:57:40 +0000 (10:57 -0800)
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>
arch/arm/plat-omap/dma.c

index 30ff525..5ec96db 100644 (file)
@@ -2138,7 +2138,7 @@ static int __init omap_init_dma(void)
                setup_irq(irq, &omap24xx_dma_irq);
        }
 
-       if (cpu_is_omap34xx()) {
+       if (cpu_is_omap34xx() || cpu_is_omap44xx()) {
                /* Enable smartidle idlemodes and autoidle */
                u32 v = dma_read(OCP_SYSCONFIG);
                v &= ~(DMA_SYSCONFIG_MIDLEMODE_MASK |