]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Reintroduce dropped call to check_wakeup_irqs
authorColin Cross <ccross@android.com>
Mon, 11 Jul 2011 08:51:49 +0000 (10:51 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 11 Jul 2011 08:51:49 +0000 (10:51 +0200)
commit4f1400d2b736e4354b677a218c7883de7cd515d0
tree51cf1ce6f98ddf3e304c06b45c28265dfc9e4503
parent082719f4fb47d860603d38acbbd57f0e40cd3b2e
PM: Reintroduce dropped call to check_wakeup_irqs

Patch bd7252d47540a78953478e3e642f2f7069361cd9
(PM: Remove sysdev suspend, resume and shutdown operations)
deleted sysdev_suspend(), which was being relied on to call
check_wakeup_irqs() in suspend.  If check_wakeup_irqs() is not
called, wake interrupts that are pending when suspend is
entered may be lost.  It also breaks IRQCHIP_MASK_ON_SUSPEND,
which is handled in check_wakeup_irqs().

This patch adds a call to check_wakeup_irqs() in syscore_suspend(),
similar to what was deleted in sysdev_suspend().

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/syscore.c