Bladeren bron

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
Mohit Khanna 5 jaren geleden
bovenliggende
commit
cd9abacf18
1 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. 4 3
      hif/src/pcie/if_pci.c

+ 4 - 3
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++) {
 	for (j = 0; j < hif_ext_group->numirq; j++) {
 		irq = hif_ext_group->irq[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,
 		ret = request_irq(irq,
 				  hif_ext_group_interrupt_handler,
 				  hif_ext_group_interrupt_handler,
-				  IRQF_SHARED, "wlan_EXT_GRP",
+				  IRQF_SHARED | IRQF_NO_SUSPEND,
+				  "wlan_EXT_GRP",
 				  hif_ext_group);
 				  hif_ext_group);
 		if (ret) {
 		if (ret) {
 			HIF_ERROR("%s: request_irq failed ret = %d",
 			HIF_ERROR("%s: request_irq failed ret = %d",