|
@@ -811,7 +811,7 @@ void pm_print_active_wakeup_sources(void)
|
|
|
rcu_read_lock();
|
|
|
list_for_each_entry_rcu(ws, &wakeup_sources, entry) {
|
|
|
if (ws->active) {
|
|
|
- pr_info("active wakeup source: %s\n", ws->name);
|
|
|
+ pr_debug("active wakeup source: %s\n", ws->name);
|
|
|
active = 1;
|
|
|
} else if (!active &&
|
|
|
(!last_activity_ws ||
|
|
@@ -822,7 +822,7 @@ void pm_print_active_wakeup_sources(void)
|
|
|
}
|
|
|
|
|
|
if (!active && last_activity_ws)
|
|
|
- pr_info("last active wakeup source: %s\n",
|
|
|
+ pr_debug("last active wakeup source: %s\n",
|
|
|
last_activity_ws->name);
|
|
|
rcu_read_unlock();
|
|
|
}
|
|
@@ -905,7 +905,7 @@ bool pm_get_wakeup_count(unsigned int *count, bool block)
|
|
|
split_counters(&cnt, &inpr);
|
|
|
if (inpr == 0 || signal_pending(current))
|
|
|
break;
|
|
|
-
|
|
|
+ pm_print_active_wakeup_sources();
|
|
|
schedule();
|
|
|
}
|
|
|
finish_wait(&wakeup_count_wait_queue, &wait);
|