]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: DISPC: Enable dispc wake up capability
authorJouni Hogander <jouni.hogander@nokia.com>
Fri, 15 Aug 2008 09:31:24 +0000 (12:31 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 19 Aug 2008 13:24:46 +0000 (16:24 +0300)
Without wakeup enable omap doesn't wake up on dispc interrupts. This
causes problems in a case where mpu is in sleep state and dispc
interrupt fires.

Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/dispc.c

index 99bf35551525069fd078bb64e8b2385dc642efcf..00ad6b2aedfa3996afb698f720865872ee5cea5a 100644 (file)
@@ -1392,10 +1392,10 @@ static int omap_dispc_init(struct omapfb_device *fbdev, int ext_mode,
                enable_digit_clocks(0);
        }
 
-       /* Enable smart idle and autoidle */
+       /* Enable smart standby/idle, autoidle and wakeup */
        l = dispc_read_reg(DISPC_SYSCONFIG);
        l &= ~((3 << 12) | (3 << 3));
-       l |= (2 << 12) | (2 << 3) | (1 << 0);
+       l |= (2 << 12) | (2 << 3) | (1 << 2) | (1 << 0);
        dispc_write_reg(DISPC_SYSCONFIG, l);
        omap_writel(1 << 0, DSS_BASE + DSS_SYSCONFIG);