diff options
| -rw-r--r-- | drivers/base/power/wakeup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index bb1ae175fae1..23c243a4c675 100644 --- a/drivers/base/power/wakeup.c +++ b/drivers/base/power/wakeup.c | |||
| @@ -804,7 +804,7 @@ void pm_print_active_wakeup_sources(void) | |||
| 804 | srcuidx = srcu_read_lock(&wakeup_srcu); | 804 | srcuidx = srcu_read_lock(&wakeup_srcu); |
| 805 | list_for_each_entry_rcu(ws, &wakeup_sources, entry) { | 805 | list_for_each_entry_rcu(ws, &wakeup_sources, entry) { |
| 806 | if (ws->active) { | 806 | if (ws->active) { |
| 807 | pr_debug("active wakeup source: %s\n", ws->name); | 807 | pm_pr_dbg("active wakeup source: %s\n", ws->name); |
| 808 | active = 1; | 808 | active = 1; |
| 809 | } else if (!active && | 809 | } else if (!active && |
| 810 | (!last_activity_ws || | 810 | (!last_activity_ws || |
| @@ -815,7 +815,7 @@ void pm_print_active_wakeup_sources(void) | |||
| 815 | } | 815 | } |
| 816 | 816 | ||
| 817 | if (!active && last_activity_ws) | 817 | if (!active && last_activity_ws) |
| 818 | pr_debug("last active wakeup source: %s\n", | 818 | pm_pr_dbg("last active wakeup source: %s\n", |
| 819 | last_activity_ws->name); | 819 | last_activity_ws->name); |
| 820 | srcu_read_unlock(&wakeup_srcu, srcuidx); | 820 | srcu_read_unlock(&wakeup_srcu, srcuidx); |
| 821 | } | 821 | } |
| @@ -845,7 +845,7 @@ bool pm_wakeup_pending(void) | |||
| 845 | raw_spin_unlock_irqrestore(&events_lock, flags); | 845 | raw_spin_unlock_irqrestore(&events_lock, flags); |
| 846 | 846 | ||
| 847 | if (ret) { | 847 | if (ret) { |
| 848 | pr_debug("Wakeup pending, aborting suspend\n"); | 848 | pm_pr_dbg("Wakeup pending, aborting suspend\n"); |
| 849 | pm_print_active_wakeup_sources(); | 849 | pm_print_active_wakeup_sources(); |
| 850 | } | 850 | } |
| 851 | 851 | ||
