Input: cros_ec_keyb - mark cros_ec_keyb driver as wake enabled device.
authorRavi Chandra Sadineni <ravisadineni@chromium.org>
Wed, 30 May 2018 19:22:04 +0000 (12:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 May 2018 23:42:12 +0000 (16:42 -0700)
commit38ba34a43dbc00c87d13d1c4b6d0719a2ac87b2e
tree5279be593f866181bfa759a135963d180cbfc6f8
parentcbd606ec9feff7c428cfec9b4a90a6b5e6744c31
Input: cros_ec_keyb - mark cros_ec_keyb driver as wake enabled device.

Mark cros_ec_keyb has wake enabled by default. If we see a MKBP event
related to keyboard,  call pm_wakeup_event() to make sure wakeup
triggers are accounted to keyb during suspend resume path.

Signed-off-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/cros_ec_keyb.c
drivers/mfd/cros_ec.c