mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Rate limit logs when wake request fails
Excessive logging is detected when force wake request command fails. Rate limit the logs in hif_force_wake_request and hal_write32_mb. Change-Id: I9b1166074dfdb2d58d811571c802a75a6dbc03c5 CRs-Fixed: 2823961
This commit is contained in:
parent
f0e258c642
commit
23bf09c707
2 changed files with 2 additions and 2 deletions
|
|
@ -290,7 +290,7 @@ static inline void hal_write32_mb(struct hal_soc *hal_soc, uint32_t offset,
|
|||
if (!hal_soc->init_phase) {
|
||||
ret = hif_force_wake_request(hal_soc->hif_handle);
|
||||
if (ret) {
|
||||
hal_err("Wake up request failed");
|
||||
hal_err_rl("Wake up request failed");
|
||||
qdf_check_state_before_panic();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -710,7 +710,7 @@ int hif_force_wake_request(struct hif_opaque_softc *hif_handle)
|
|||
struct hif_ipci_softc *ipci_scn = HIF_GET_IPCI_SOFTC(scn);
|
||||
|
||||
if (pld_force_wake_request(scn->qdf_dev->dev)) {
|
||||
hif_err("force wake request send failed");
|
||||
hif_err_rl("force wake request send failed");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue