]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Use proper register for setting OMAP730 keypad wakeup.
authorTodd Poynor <tpoynor@mvista.com>
Wed, 12 Oct 2005 21:53:53 +0000 (14:53 -0700)
committerKevin Hilman <kevin@hilman.org>
Wed, 12 Oct 2005 21:53:53 +0000 (14:53 -0700)
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Kevin Hilman <kevin@hilman.org>
arch/arm/plat-omap/pm.c

index e3a67f65d91eec88544670860e02f1f5e85c75c7..56e3441dc9772bfd6cd72d3400451cadff6d9d70 100644 (file)
@@ -138,9 +138,8 @@ static void omap_pm_wakeup_setup(void)
        omap_writel(~level1_wake, OMAP_IH1_MIR);
 
        if (cpu_is_omap730()) {
-               level2_wake |= OMAP_IRQ_BIT(INT_730_MPUIO_KEYPAD);
                omap_writel(~level2_wake,  OMAP_IH2_0_MIR);
-               omap_writel(~OMAP_IRQ_BIT(INT_730_WAKE_UP_REQ), OMAP_IH2_1_MIR);
+               omap_writel(~(OMAP_IRQ_BIT(INT_730_WAKE_UP_REQ) | OMAP_IRQ_BIT(INT_730_MPUIO_KEYPAD)), OMAP_IH2_1_MIR);
        }
 
        if (cpu_is_omap1510()) {