summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorMaggie White <maggiewhite@google.com>2017-04-12 15:52:05 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-12-23 23:43:36 +0200
commitf1b8091e89b340971678b522d3217e28ef823b9d (patch)
tree40658f3c7a700ad763e168aa2702c9d3499fd950 /kernel/irq
parent1b2d561c1e56f8bb348f0ae30a1e4477a21a84e5 (diff)
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: Maggie White <maggiewhite@google.com>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/pm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c
index d62898ccebed..28e134310435 100644
--- a/kernel/irq/pm.c
+++ b/kernel/irq/pm.c
@@ -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_irq_wakeup(irq_desc_get_irq(desc));
return true;
}