소스 검색

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 년 전
부모
커밋
cd9abacf18
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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++) {
 		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",