projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de5480
)
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
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/rk2818_adckey.c
b/drivers/input/keyboard/rk2818_adckey.c
index 45bc7ccb24eb42a88db0cf4a46a5da526c9581c7..a921c5264f200e88cb164708ca07c7b3a3b60211 100644
(file)
--- a/
drivers/input/keyboard/rk2818_adckey.c
+++ b/
drivers/input/keyboard/rk2818_adckey.c
@@
-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)