mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
PM: Replace WARN_ON on timeout with one line print
Change-Id: Ia8b32b8ee225b7b62a327fecb10e9284ee4116df Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
124acbcfe3
commit
9ff16b88b8
1 changed files with 2 additions and 1 deletions
|
@ -506,7 +506,8 @@ const struct list_head* get_wakeup_reasons(unsigned long timeout,
|
|||
unsigned long signalled = 0;
|
||||
if (timeout)
|
||||
signalled = wait_for_completion_timeout(&wakeups_completion, timeout);
|
||||
if (WARN_ON(!signalled)) {
|
||||
if (!signalled) {
|
||||
pr_warn("%s: completion timeout\n", __func__);
|
||||
stop_logging_wakeup_reasons();
|
||||
walk_irq_node_tree(base_irq_nodes, build_unfinished_nodes, unfinished);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue