diff options
author | Jin Qian <jinqian@android.com> | 2015-05-06 15:26:56 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-08 01:36:13 +0200 |
commit | b6ec94520c5b944da9e045e173ddb453ecf42da3 (patch) | |
tree | 49b8c3b05abe8ac4e969a60c97a4cc2cbd2ddf4e /include/linux/pm.h | |
parent | Linux 4.1-rc2 (diff) | |
download | linux-dev-b6ec94520c5b944da9e045e173ddb453ecf42da3.tar.xz linux-dev-b6ec94520c5b944da9e045e173ddb453ecf42da3.zip |
PM / wakeup: validate wakeup source before activating it.
A rogue wakeup source not registered in wakeup_sources list is not visible
from wakeup_sources_stats_show. Check if the wakeup source is registered
properly by looking at the timer struct.
Signed-off-by: Jin Qian <jinqian@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions