]> git.baikalelectronics.ru Git - kernel.git/commit
Input: twl4030-pwrbutton - ensure a wakeup event is recorded.
authorNeilBrown <neilb@suse.de>
Fri, 7 Nov 2014 23:46:56 +0000 (15:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 8 Nov 2014 08:26:44 +0000 (00:26 -0800)
commit518e339e0e6231c362133c9e577a9a152ab32235
tree839cc48ef762fa5621eb554821683954676cf6d6
parent615db9fa97deb7f9e4d7059a87ded9c2cf674ad1
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>
drivers/input/misc/twl4030-pwrbutton.c