Browse Source

qcacmn: Change log level to debug for hif_runtime_lock_init/deinit

To avoid excessive logging, we whould not logs RTPM lock init and
deinit to the console. Thus, change the log level to debug.

Change-Id: Ib11045fe50f729b0580284fa913da48d3a59b323
CRs-Fixed: 2927959
Alan Chen 4 years ago
parent
commit
a1aa15b70c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hif/src/hif_runtime_pm.c

+ 2 - 2
hif/src/hif_runtime_pm.c

@@ -1590,7 +1590,7 @@ int hif_runtime_lock_init(qdf_runtime_lock_t *lock, const char *name)
 {
 	struct hif_pm_runtime_lock *context;
 
-	hif_info("Initializing Runtime PM wakelock %s", name);
+	hif_debug("Initializing Runtime PM wakelock %s", name);
 
 	context = qdf_mem_malloc(sizeof(*context));
 	if (!context)
@@ -1620,7 +1620,7 @@ void hif_runtime_lock_deinit(struct hif_opaque_softc *hif_ctx,
 		return;
 	}
 
-	hif_info("Deinitializing Runtime PM wakelock %s", context->name);
+	hif_debug("Deinitializing Runtime PM wakelock %s", context->name);
 
 	/*
 	 * Ensure to delete the context list entry and reduce the usage count