From cd9abacf180c5072100732d9e5dd69cc310b5131 Mon Sep 17 00:00:00 2001 From: Mohit Khanna Date: Fri, 6 Sep 2019 19:15:53 -0700 Subject: [PATCH] qcacmn: Mark DP interrupts wakeable This is needed, because in SAP mode wlan_wake_irq is not used to wake up the APPS when it goes to suspend, and each SRNG interrupt needs to wakeup the APPS when needed. Hence mark DP interrupts with IRQF_NO_SUSPEND flag. Change-Id: I0138c94ad82da7cdef5856c15c5f4089a835bc22 CRs-Fixed: 2512383 --- hif/src/pcie/if_pci.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hif/src/pcie/if_pci.c b/hif/src/pcie/if_pci.c index c9b595d74b70..8da565788ec7 100644 --- a/hif/src/pcie/if_pci.c +++ b/hif/src/pcie/if_pci.c @@ -3469,11 +3469,12 @@ int hif_pci_configure_grp_irq(struct hif_softc *scn, for (j = 0; j < hif_ext_group->numirq; j++) { irq = hif_ext_group->irq[j]; - HIF_DBG("%s: request_irq = %d for grp %d", - __func__, irq, hif_ext_group->grp_id); + hif_info("request_irq = %d for grp %d", + irq, hif_ext_group->grp_id); ret = request_irq(irq, hif_ext_group_interrupt_handler, - IRQF_SHARED, "wlan_EXT_GRP", + IRQF_SHARED | IRQF_NO_SUSPEND, + "wlan_EXT_GRP", hif_ext_group); if (ret) { HIF_ERROR("%s: request_irq failed ret = %d",