summaryrefslogtreecommitdiff
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorxing wei <xing.wei@intel.com>2016-12-07 19:31:16 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-12-08 01:26:23 +0100
commit9320f95c0b8f1d074f570385e6855d4554f693e4 (patch)
treee789238fc895e172a4c19cce4ed20c664e827e7e /drivers/acpi/sleep.c
parentb53f40db59b27b62bc294c30506b02a0cae47e0b (diff)
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 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions