Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information