git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fba26c
)
Input: twl4030-pwrbutton - report a wakeup_event on button press
author
NeilBrown
<neilb@suse.de>
Mon, 30 Jul 2012 05:25:51 +0000
(22:25 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 22 Aug 2012 05:29:48 +0000
(22:29 -0700)
As the power button causes a wake from suspend, we need to register
the event with the pm sustem to avoid racing with suspend.
As the input event is reported in the interrupt handler, as simple
pm_wakeup_event() is sufficient.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
No differences found