call enable_irq_wake on play/wakeup pin
author黄涛 <huangtao@rock-chips.com>
Sat, 12 Jun 2010 02:18:37 +0000 (02:18 +0000)
committer黄涛 <huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:35:26 +0000 (13:35 +0800)
drivers/input/keyboard/rk2818_adckey.c

index 45bc7ccb24eb42a88db0cf4a46a5da526c9581c7..a921c5264f200e88cb164708ca07c7b3a3b60211 100644 (file)
@@ -378,6 +378,8 @@ static int __devinit rk28_adckey_probe(struct platform_device *pdev)
        }
 #endif
 
+       enable_irq_wake(gpio_to_irq(KEY_PLAYON_PIN)); // so play/wakeup key can wake up system
+
 #if 0
        error = gpio_direction_input(KEY_PLAYON_PIN);
        if (error)