commit | b6ec94520c5b944da9e045e173ddb453ecf42da3 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@android.com> | Wed May 06 15:26:56 2015 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri May 08 01:36:13 2015 +0200 |
tree | 49b8c3b05abe8ac4e969a60c97a4cc2cbd2ddf4e | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 [diff] |
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>