commit | c42bfd7f6cd26e8f712fc184460e32845d928d17 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Nov 07 15:46:56 2014 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Nov 08 00:26:44 2014 -0800 |
tree | 839cc48ef762fa5621eb554821683954676cf6d6 | |
parent | e4742b1e786ca386e88e6cfb2801e14e15e365cd [diff] |
Input: twl4030-pwrbutton - ensure a wakeup event is recorded. This button is treated as a wakeup source, so we need to initialise it correctly. Without the device_init_wakeup() call, dev->power.wakeup will be NULL, and pm_wakeup_event() will do nothing. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>