aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/dma.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2010-02-18 08:59:08 +0000
committerTony Lindgren <tony@atomide.com>2010-02-23 10:57:40 -0800
commit1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449 (patch)
treea9c3ca32f4b2e9c07c789c09964a6d9c64647fb7 /arch/arm/plat-omap/dma.c
parentb7ebb10b0a9793effa4a74a3c29049b44c6b8176 (diff)
downloadkernel_goldelico_gta04-1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449.zip
kernel_goldelico_gta04-1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449.tar.gz
kernel_goldelico_gta04-1ce0f9d4a9a2adebf0754a694a9bd1d5ab870449.tar.bz2
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/arm/plat-omap/dma.c')
-rw-r--r--arch/arm/plat-omap/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 30ff525f..5ec96db 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)
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 |