瀏覽代碼

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>
Santosh Shilimkar 15 年之前
父節點
當前提交
1ce0f9d4a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/plat-omap/dma.c

+ 1 - 1
arch/arm/plat-omap/dma.c

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