mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: change logging with spin_lock held to debug level
Change the error level logging which are called by holding the spin_lock to debug level to avoid printing to console. Change-Id: If057087e808ed49000eba8b9795397a0cf35a357 CRs-Fixed: 2676235
This commit is contained in:
parent
25a79eb0f4
commit
e4a31a803d
1 changed files with 8 additions and 8 deletions
|
|
@ -4513,10 +4513,10 @@ static int __hif_pm_runtime_prevent_suspend(struct hif_pci_softc
|
|||
|
||||
qdf_atomic_inc(&hif_sc->pm_stats.prevent_suspend);
|
||||
|
||||
HIF_ERROR("%s: in pm_state:%s ret: %d", __func__,
|
||||
hif_pm_runtime_state_to_string(
|
||||
qdf_atomic_read(&hif_sc->pm_state)),
|
||||
ret);
|
||||
hif_debug("%s: in pm_state:%s ret: %d", __func__,
|
||||
hif_pm_runtime_state_to_string(
|
||||
qdf_atomic_read(&hif_sc->pm_state)),
|
||||
ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -4561,10 +4561,10 @@ static int __hif_pm_runtime_allow_suspend(struct hif_pci_softc *hif_sc,
|
|||
hif_pm_runtime_mark_last_busy(hif_ctx);
|
||||
ret = hif_pm_runtime_put_auto(hif_sc->dev);
|
||||
|
||||
HIF_ERROR("%s: in pm_state:%s ret: %d", __func__,
|
||||
hif_pm_runtime_state_to_string(
|
||||
qdf_atomic_read(&hif_sc->pm_state)),
|
||||
ret);
|
||||
hif_debug("%s: in pm_state:%s ret: %d", __func__,
|
||||
hif_pm_runtime_state_to_string(
|
||||
qdf_atomic_read(&hif_sc->pm_state)),
|
||||
ret);
|
||||
|
||||
qdf_atomic_inc(&hif_sc->pm_stats.allow_suspend);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue