Skip to content
Snippets Groups Projects
Commit 3a13e3b4 authored by Maggie White's avatar Maggie White Committed by Charles Li
Browse files

power: Improved/fixed logs for PM wakeups


PM wakeups were reporting in kernel and BatteryStats logs as abort
suspends due to the PM IRQ handler logging a suspend abort, which
prevented the normal wakeup resume messaging. Suspend abort reasons
are already logged in pm_wakeup_pending() in
drivers/base/power/wakeup.c.

Bug: 34225014
Change-Id: I8b9ab597caef61b0d6f5b853b2947d6afc13d693
Signed-off-by: default avatarMaggie White <maggiewhite@google.com>
parent c30b6332
No related branches found
No related tags found
No related merge requests found
......@@ -21,10 +21,6 @@ bool irq_pm_check_wakeup(struct irq_desc *desc)
desc->istate |= IRQS_SUSPENDED | IRQS_PENDING;
desc->depth++;
irq_disable(desc);
log_suspend_abort_reason("Wakeup IRQ %d %s pending",
desc->irq_data.irq,
(desc->action && desc->action->name) ?
desc->action->name : "");
pm_system_wakeup();
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment