qcacmn: Add debug log for prevent suspend

Add debug log to get more detail when PCIe link suspend is not allowed.

Change-Id: Ia16f34a88d2d264c703d4fa068bec8b954466cf7
CRs-Fixed: 2963989
This commit is contained in:
Alan Chen
2021-06-07 18:17:31 -07:00
committed by Madan Koyyalamudi
parent 48fde3c3bb
commit 5d539e6876
2 changed files with 14 additions and 0 deletions

View File

@@ -1418,6 +1418,7 @@ int hif_apps_enable_irqs_except_wake_irq(struct hif_opaque_softc *hif_ctx);
int hif_apps_disable_irqs_except_wake_irq(struct hif_opaque_softc *hif_ctx);
#ifdef FEATURE_RUNTIME_PM
void hif_print_runtime_pm_prevent_list(struct hif_opaque_softc *hif_ctx);
int hif_pre_runtime_suspend(struct hif_opaque_softc *hif_ctx);
void hif_pre_runtime_resume(struct hif_opaque_softc *hif_ctx);
int hif_runtime_suspend(struct hif_opaque_softc *hif_ctx);
@@ -1425,6 +1426,10 @@ int hif_runtime_resume(struct hif_opaque_softc *hif_ctx);
void hif_process_runtime_suspend_success(struct hif_opaque_softc *hif_ctx);
void hif_process_runtime_suspend_failure(struct hif_opaque_softc *hif_ctx);
void hif_process_runtime_resume_success(struct hif_opaque_softc *hif_ctx);
#else
static inline void
hif_print_runtime_pm_prevent_list(struct hif_opaque_softc *hif_ctx)
{}
#endif
int hif_get_irq_num(struct hif_opaque_softc *scn, int *irq, uint32_t size);