From c79aed0d8c8faba258b633e01e08180a86c6e6f2 Mon Sep 17 00:00:00 2001 From: wadesong Date: Wed, 19 Apr 2017 19:43:21 +0800 Subject: [PATCH] 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 --- hif/src/pcie/if_pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hif/src/pcie/if_pci.c b/hif/src/pcie/if_pci.c index aa2756e86929..74901417f339 100644 --- a/hif/src/pcie/if_pci.c +++ b/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); }