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:
Vevek Venkatesan 2020-05-01 13:28:16 +05:30 • committed by nshrivas
commit e4a31a803d

View file

@ -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;