summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbings <bings@codeaurora.org>2018-12-04 16:09:19 +0800
committerbings <bings@codeaurora.org>2018-12-04 16:18:53 +0800
commit237f5a6b7e5854596d55fe5716022368b324710b (patch)
tree38126c5db02b8062c9d68fa71351b376a579f62a
parentfc2ef40c85b875fe9a702d87abff40d2f19816c1 (diff)
qcacld-2.0: Call HIFMaskInterrupt only for sdio device
HIFMaskInterrupt and HIFUnMaskInterrupt are only defined for sdio. Change-Id: I66c20f3572b297b0a8ec72bad2e8a01de728b42c CRs-Fixed: 2360697
-rw-r--r--CORE/SERVICES/BMI/ol_fw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CORE/SERVICES/BMI/ol_fw.c b/CORE/SERVICES/BMI/ol_fw.c
index aea7f91190cb..d10fa978cc5e 100644
--- a/CORE/SERVICES/BMI/ol_fw.c
+++ b/CORE/SERVICES/BMI/ol_fw.c
@@ -2881,7 +2881,9 @@ int ol_target_coredump(void *inst, void *memoryBlock, u_int32_t blockLength)
ol_txrx_pdev_pause_vdev_txq(scn->pdev_txrx_handle,
OL_TXQ_PAUSE_REASON_CRASH_DUMP);
}
+#ifdef HIF_SDIO
HIFMaskInterrupt(scn->hif_hdl);
+#endif
BMIInit(scn);
}
@@ -2974,7 +2976,9 @@ int ol_target_coredump(void *inst, void *memoryBlock, u_int32_t blockLength)
end:
if (scn->fastfwdump_host && scn->fastfwdump_fw) {
BMICleanup(scn);
+#ifdef HIF_SDIO
HIFUnMaskInterrupt(scn->hif_hdl);
+#endif
if (scn->pdev_txrx_handle) {
ol_txrx_pdev_unpause(scn->pdev_txrx_handle,
OL_TXQ_PAUSE_REASON_FW);