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>
This commit is contained in:
parent
b7ebb10b0a
commit
1ce0f9d4a9
|
@ -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 |
|
||||
|
|
Loading…
Reference in a new issue