diff options
author | Colin Cross <ccross@android.com> | 2011-07-11 10:51:49 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-11 10:51:49 +0200 |
commit | 887596224cca4dc4669c53e4d7a33fcfc9d9e823 (patch) | |
tree | 51cf1ce6f98ddf3e304c06b45c28265dfc9e4503 /drivers/hwmon | |
parent | e3bbfa78bab125f58b831b5f7f45b5a305091d72 (diff) | |
download | linux-887596224cca4dc4669c53e4d7a33fcfc9d9e823.tar.bz2 |
PM: Reintroduce dropped call to check_wakeup_irqs
Patch 2e711c04dbbf7a7732a3f7073b1fc285d12b369d
(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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions