qcacld-3.0: Instrument fastpath for runtime_pm
Fastpath needs gets and puts to work with runtime_pm enabled.
Change-Id: I2248d1e77c842ab12fcc10e3f29fa3ef4dd76052
CRs-Fixed: 935300
diff --git a/core/hif/inc/hif.h b/core/hif/inc/hif.h
index 3ccf9d2..2deb9c8 100644
--- a/core/hif/inc/hif.h
+++ b/core/hif/inc/hif.h
@@ -646,6 +646,7 @@
#ifdef FEATURE_RUNTIME_PM
struct hif_pm_runtime_lock;
int hif_pm_runtime_get(void *hif_ctx);
+void hif_pm_runtime_get_noresume(void *hif_ctx);
int hif_pm_runtime_put(void *hif_ctx);
struct hif_pm_runtime_lock *hif_runtime_lock_init(const char *name);
void hif_runtime_lock_deinit(struct hif_pm_runtime_lock *lock);
@@ -659,6 +660,10 @@
struct hif_pm_runtime_lock {
const char *name;
};
+
+static inline void hif_pm_runtime_get_noresume(void *hif_ctx)
+{}
+
static inline int hif_pm_runtime_get(void *hif_ctx)
{ return 0; }
static inline int hif_pm_runtime_put(void *hif_ctx)