diff options
| author | wadesong <wadesong@codeaurora.org> | 2017-04-19 19:43:21 +0800 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-04-20 08:12:46 -0700 |
| commit | 02b6a26902faa0ba1671bc2ad8ea3204478d7e97 (patch) | |
| tree | 175d1bdcb2c5fdb58ece2f8825f3a03d5533e586 | |
| parent | 66ee457d167676331f1f8f94a1c55e7c435b5adc (diff) | |
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
| -rw-r--r-- | hif/src/pcie/if_pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hif/src/pcie/if_pci.c b/hif/src/pcie/if_pci.c index 7bb586f4e01b..d61d313da219 100644 --- a/hif/src/pcie/if_pci.c +++ b/hif/src/pcie/if_pci.c @@ -2423,7 +2423,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); } |
