提交 1ce0f9d4 编写于 作者: S Santosh Shilimkar 提交者: Tony Lindgren

omap4: sdma: Enable the idle modes on omap4

This patch enables smart-idle idlemodes and autoidle for sDMA
on OMAP4
Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: NKevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: NPaul Walmsley <paul@pwsan.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 b7ebb10b
......@@ -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 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册