diff options
author | xing wei <xing.wei@intel.com> | 2016-12-07 19:31:16 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-08 01:26:23 +0100 |
commit | 9320f95c0b8f1d074f570385e6855d4554f693e4 (patch) | |
tree | e789238fc895e172a4c19cce4ed20c664e827e7e /mm/kasan | |
parent | b53f40db59b27b62bc294c30506b02a0cae47e0b (diff) | |
download | op-kernel-dev-9320f95c0b8f1d074f570385e6855d4554f693e4.zip op-kernel-dev-9320f95c0b8f1d074f570385e6855d4554f693e4.tar.gz |
PM / sleep: Print active wakeup sources when blocking on wakeup_count reads
If there are any wakeup events being processed, read operation
on /sys/power/wakeup_count will be blocked, so print the names
of all active wakeup sources to help to find out who is preventing
system suspend from triggering.
While at it change pr_info() in pm_print_active_wakeup_sources()
to pr_debug() to avoid excessive log noise.
Signed-off-by: xing wei <xing.wei@intel.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions