qcacmn: Wake up system for early interrupt wakeup during suspending

During system suspending, the target might request wakeup early to the
host. The host will wakeup the system directly to abort current suspend
to avoid mismatching PM state between host & target.

Change-Id: Icf6e58ff24cbe072ef56aa22820432efb2ca1932
CRs-Fixed: 2559306
This commit is contained in:
Tiger Yu
2019-11-11 10:59:45 +08:00
committed by nshrivas
parent cbf2eb71d3
commit 987de79182
3 changed files with 17 additions and 0 deletions

View File

@@ -1283,6 +1283,8 @@ irqreturn_t hif_wake_interrupt_handler(int irq, void *context)
if (hif_is_ut_suspended(scn))
hif_ut_fw_resume(scn);
qdf_pm_system_wakeup();
return IRQ_HANDLED;
}