[ARM] pxa/cm-x300: enable the IRQ_WAKEUP0 as wakeup source.
authorIgor Grinberg <grinberg@compulab.co.il>
Sun, 13 Jun 2010 08:31:49 +0000 (11:31 +0300)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 5 Aug 2010 06:32:18 +0000 (14:32 +0800)
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/cm-x300.c

index fdda6be6c391ea9d094aea6d7d52935e91d49c98..8d227b4e15f34c523172a43a29717b747cf2aec5 100644 (file)
@@ -689,6 +689,7 @@ static void __init cm_x300_init_da9030(void)
 {
        pxa3xx_set_i2c_power_info(&cm_x300_pwr_i2c_info);
        i2c_register_board_info(1, &cm_x300_pmic_info, 1);
+       set_irq_wake(IRQ_WAKEUP0, 1);
 }
 
 static void __init cm_x300_init_wi2wi(void)