diff options
author | NeilBrown <neilb@suse.de> | 2012-07-30 07:25:51 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-08-22 07:29:48 +0200 |
commit | 112b51cfa21714d001e5b3e3f7c1f13146906a5d (patch) | |
tree | b2f96402abbe2a3e219e70a89c25a78af4d0d873 /drivers/rtc/Kconfig | |
parent | Input: gpio_keys - report a wakeup_event for a button press (diff) | |
download | linux-112b51cfa21714d001e5b3e3f7c1f13146906a5d.tar.xz linux-112b51cfa21714d001e5b3e3f7c1f13146906a5d.zip |
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 <neilb@suse.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
0 files changed, 0 insertions, 0 deletions