qcacmn: Remove logic to enable/disable wake msi for drv systems

Remove logic to enable/disable wake msi for drv systems. Today, during
WoW suspend sequence, between hif pci bus suspend and hif pci bus
suspend no irq, wake msi is getting disable temporarily. In case
fw toggles wake msi during this period, then the wake msi is lost,
which can lead to device not waking up for fw triggered wakeup.
Add the fix to remove enable/disable wake msi from suspend/resume
path and keep wake msi always enabled.

Change-Id: Idad0805f66ead4079d67577fa1151f73567511a3
CRs-Fixed: 3042261
This commit is contained in:
Alan Chen
2021-09-28 14:31:41 -07:00
committed by Madan Koyyalamudi
parent 29fe92fbd7
commit c180315712
3 changed files with 2 additions and 11 deletions

View File

@@ -2109,11 +2109,8 @@ irqreturn_t hif_wake_interrupt_handler(int irq, void *context)
hif_info("wake interrupt received on irq %d", irq);
if (hif_pm_runtime_get_monitor_wake_intr(hif_ctx)) {
hif_pm_runtime_set_monitor_wake_intr(hif_ctx, 0);
hif_pm_runtime_request_resume(hif_ctx,
RTPM_ID_WAKE_INTR_HANDLER);
}
hif_pm_runtime_set_monitor_wake_intr(hif_ctx, 0);
hif_pm_runtime_request_resume(hif_ctx, RTPM_ID_WAKE_INTR_HANDLER);
if (scn->initial_wakeup_cb)
scn->initial_wakeup_cb(scn->initial_wakeup_priv);