Home
last modified time | relevance | path

Searched hist:"112 b51cfa21714d001e5b3e3f7c1f13146906a5d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dtwl4030-pwrbutton.cdiff 112b51cfa21714d001e5b3e3f7c1f13146906a5d Mon Jul 30 00:25:51 CDT 2012 NeilBrown <neilb@suse.de> 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>