diff options
author | NeilBrown <[email protected]> | 2012-07-29 22:25:51 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2012-08-21 22:29:48 -0700 |
commit | 112b51cfa21714d001e5b3e3f7c1f13146906a5d (patch) | |
tree | b2f96402abbe2a3e219e70a89c25a78af4d0d873 /lib/mpi/mpi-bit.c | |
parent | 2fba26c6595e4c1c64a74dad30f71c09708ff59a (diff) |
Input: twl4030-pwrbutton - report a wakeup_event on button press
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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions