diff options
| author | Komal Seelam <kseelam@qti.qualcomm.com> | 2016-04-18 10:36:53 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-04-18 12:41:34 +0530 |
| commit | ecb2a0537b51ec711a2ef9686be5e8d3d77e54bb (patch) | |
| tree | aebf3a30dadb3a96c348f8210fea84c98144aafc | |
| parent | ed4d80d5c7936d70b5222b52c03de2cf189a5bba (diff) | |
qcacld-2.0: Fix Invalid PCIe link access during crash_shutdown
During Runtime Suspend, if Crash Shutdown triggered because of other
subsystems, ensure to do runtime resume before accessing PCIe Link
to avoid Link Errors.
Change-Id: Ie149e75e9fa6477cc051af06da25e070178bacef
CRs-Fixed: 1004540
| -rw-r--r-- | CORE/SERVICES/HIF/PCIe/if_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/SERVICES/HIF/PCIe/if_pci.c b/CORE/SERVICES/HIF/PCIe/if_pci.c index 613a3804da47..54db65e531f9 100644 --- a/CORE/SERVICES/HIF/PCIe/if_pci.c +++ b/CORE/SERVICES/HIF/PCIe/if_pci.c @@ -2533,6 +2533,7 @@ void hif_pci_crash_shutdown(struct pci_dev *pdev) } } + hif_pci_pm_runtime_exit(sc); adf_os_spin_lock_irqsave(&hif_state->suspend_lock); hif_irq_record(HIF_CRASH, sc); |
