PM / wakeup: validate wakeup source before activating it.
authorJin Qian <jinqian@android.com>
Wed, 6 May 2015 22:26:56 +0000 (15:26 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 May 2015 23:36:13 +0000 (01:36 +0200)
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>
drivers/base/power/wakeup.c

Simple merge