qcacmn: Create new HIF function to handle PM no idle operations
Some areas in other components are directly calling the kernel api functions to perform runtime PM no idle operations. Create a new HIF function to handle runtime PM no idle operations. Change-Id: I8328bc74ccc8e8acd35d7d73ec4cc21094b8f5b2 CRs-Fixed: 2607721
This commit is contained in:
@@ -875,6 +875,7 @@ int hif_pm_runtime_request_resume(struct hif_opaque_softc *hif_ctx);
|
||||
int hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx);
|
||||
void hif_pm_runtime_get_noresume(struct hif_opaque_softc *hif_ctx);
|
||||
int hif_pm_runtime_put(struct hif_opaque_softc *hif_ctx);
|
||||
int hif_pm_runtime_put_noidle(struct hif_opaque_softc *hif_ctx);
|
||||
void hif_pm_runtime_mark_last_busy(struct hif_opaque_softc *hif_ctx);
|
||||
int hif_runtime_lock_init(qdf_runtime_lock_t *lock, const char *name);
|
||||
void hif_runtime_lock_deinit(struct hif_opaque_softc *hif_ctx,
|
||||
@@ -912,6 +913,8 @@ static inline int hif_pm_runtime_get(struct hif_opaque_softc *hif_ctx)
|
||||
{ return 0; }
|
||||
static inline int hif_pm_runtime_put(struct hif_opaque_softc *hif_ctx)
|
||||
{ return 0; }
|
||||
static inline int hif_pm_runtime_put_noidle(struct hif_opaque_softc *hif_ctx)
|
||||
{ return 0; }
|
||||
static inline void
|
||||
hif_pm_runtime_mark_last_busy(struct hif_opaque_softc *hif_ctx) {};
|
||||
static inline int hif_runtime_lock_init(qdf_runtime_lock_t *lock,
|
||||
|
Reference in New Issue
Block a user