OSDN Git Service

Input: elan_i2c - increment wakeup count if wake source
authorRavi Chandra Sadineni <ravisadineni@chromium.org>
Wed, 15 May 2019 23:14:04 +0000 (16:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 May 2019 23:25:12 +0000 (16:25 -0700)
commit145b11d1baa3462ba211bd845ecf94057b7d10e1
tree75b9e0de014876984c4af4942c5e86f28725210a
parent14e0c7317ed58bcd15af5c3d09818ee0f2e3984c
Input: elan_i2c - increment wakeup count if wake source

Notify the PM core that this device is the wake source. This helps
userspace daemon tracking the wake sources to identify the origin of the
wake.

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