Browse Source

qcacmn: Wakeup target when configuring PCI-E legacy ISR

Wakeup AR6320 target when PCI-E legacy ISR is configured to
avoid a subsequent crash while interrupt is handled

Change-Id: I3d24f3b7e06c05ba43f631daaeb75af419ed13a5
CRs-Fixed: 2035618
wadesong 8 years ago
parent
commit
c79aed0d8c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      hif/src/pcie/if_pci.c

+ 4 - 1
hif/src/pcie/if_pci.c

@@ -2546,7 +2546,10 @@ static int hif_pci_configure_legacy_irq(struct hif_pci_softc *sc)
 			(target_type == TARGET_TYPE_AR900B)  ||
 			(target_type == TARGET_TYPE_QCA9984) ||
 			(target_type == TARGET_TYPE_AR9888) ||
-			(target_type == TARGET_TYPE_QCA9888)) {
+			(target_type == TARGET_TYPE_QCA9888) ||
+			(target_type == TARGET_TYPE_AR6320V1) ||
+			(target_type == TARGET_TYPE_AR6320V2) ||
+			(target_type == TARGET_TYPE_AR6320V3)) {
 		hif_write32_mb(scn->mem + PCIE_LOCAL_BASE_ADDRESS +
 				PCIE_SOC_WAKE_ADDRESS, PCIE_SOC_WAKE_V_MASK);
 	}