]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / wakeup: add a dummy wakeup_source to record statistics
authorJin Qian <jinqian@android.com>
Sat, 16 May 2015 01:10:37 +0000 (18:10 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 May 2015 00:47:26 +0000 (02:47 +0200)
commit7f436055cb0c0e17c430fb81197b42e20c2e812c
tree586e17c7d05ed5fed9c420ed84e196d7c657b4f0
parent87e9b9f1d86c2ee9a10c2a4186a72d0af4cc963e
PM / wakeup: add a dummy wakeup_source to record statistics

After a wakeup_source is destroyed, we lost all information such as how
long this wakeup_source has been active. Add a dummy wakeup_source to
record such info.

Signed-off-by: Jin Qian <jinqian@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c