summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGovind Singh <govinds@qti.qualcomm.com>2016-04-04 12:54:00 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-05 13:22:40 +0530
commit19ca320a4de77af8d97b04f466fbc792ba16a079 (patch)
tree2dd4c8681ae7b7d071e40272c0b923c06fd35046
parentf871667eaaa128b89f725f7f84fbf1c4917c759a (diff)
qcacld-2.0: Fix hif irq record for irq clear register
IRQ clear history is not updated correctly in hif layer. Fix hif irq record for irq clear register. Change-Id: I329d913905eb2e6fa485d1debaa2c6f6d085082a CRs-Fixed: 990499
-rw-r--r--CORE/SERVICES/HIF/PCIe/if_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/HIF/PCIe/if_pci.c b/CORE/SERVICES/HIF/PCIe/if_pci.c
index 42c8aec2ddac..dfe18fa17d04 100644
--- a/CORE/SERVICES/HIF/PCIe/if_pci.c
+++ b/CORE/SERVICES/HIF/PCIe/if_pci.c
@@ -181,7 +181,7 @@ void hif_irq_record(hif_irq_type type, struct hif_pci_softc *sc)
hif_irq_history_buffer[g_hif_irq_history_idx].irq_cause =
A_PCI_READ32(sc->mem + SOC_CORE_BASE_ADDRESS +
PCIE_INTR_CAUSE_ADDRESS);
- hif_irq_history_buffer[g_hif_irq_history_idx].irq_cause =
+ hif_irq_history_buffer[g_hif_irq_history_idx].irq_clear =
A_PCI_READ32(sc->mem + SOC_CORE_BASE_ADDRESS +
PCIE_INTR_CLR_ADDRESS);