qcacld-3.0: Enhance log in wlan_hdd_pm_qos_notify

Print runtime_pm_prevented info.

Change-Id: Ica1d626fea4c87fe53f6f6c4a78da7d52331ffba
CRs-Fixed: 2641631
This commit is contained in:
Jingxiang Ge 2020-03-13 15:20:21 +08:00 committed by nshrivas
parent 5b1bb59d2a
commit 84efe29b2b

View File

@ -925,7 +925,8 @@ int wlan_hdd_pm_qos_notify(struct notifier_block *nb, unsigned long curr_val,
return -EINVAL;
}
hdd_debug("PM QOS update. Current value: %ld", curr_val);
hdd_debug("PM QOS update: runtime_pm_prevented %d Current value: %ld",
hdd_ctx->runtime_pm_prevented, curr_val);
qdf_spin_lock_irqsave(&hdd_ctx->pm_qos_lock);
if (!hdd_ctx->runtime_pm_prevented &&