[PATCH 0/2] Report wake_events for some button presses.

From: NeilBrown
Date: Sun Jul 29 2012 - 21:09:39 EST


To avoid racing with suspend, we need to report wakeup events to the
pm subsystem when they happen.
These two patches do this for gpio_keys and twl4030-pwrbutton.

---

NeilBrown (2):
Input: twl4030-pwrbutton: report a wakeup_event on button press.
Input: gpio_keys: report a wakeup_event for a button press on a wake_up button.


drivers/input/keyboard/gpio_keys.c | 7 +++++++
drivers/input/misc/twl4030-pwrbutton.c | 1 +
2 files changed, 8 insertions(+)

--
Signature

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/