Skip to content
  • Colin Cross's avatar
    PM: Reintroduce dropped call to check_wakeup_irqs · 88759622
    Colin Cross authored
    Patch 2e711c04
    
    
    (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: default avatarColin Cross <ccross@android.com>
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    88759622