Skip to content
Commit c42bfd7f authored by NeilBrown's avatar NeilBrown Committed by Dmitry Torokhov
Browse files

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: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e4742b1e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment