qcacld-3.0: move log out of the lock region

Currently, if the time spent in a spin_lock region exceeds
a certain threshold, a system crash will be triggered.

There are chances that a log within a spin_lock region would
result in a crash if the time taken to log the buffer exceeds
the threshold which triggers the crash.

Avoid this by moving the log out of the lock region.

Change-Id: Ic51556723033e9553443250b9cb4cfee2b402309
CRs-Fixed: 2713234
Šī revīzija ir iekļauta:
Manikanta Pubbisetty
2020-06-18 09:53:36 +05:30
revīziju iesūtīja nshrivas
vecāks 9dfbc354db
revīzija 4b9a9fa22f

Parādīt failu

@@ -1258,8 +1258,8 @@ wlan_ipa_uc_disable_pipes(struct wlan_ipa_priv *ipa_ctx, bool force_disable)
qdf_spin_lock_bh(&ipa_ctx->enable_disable_lock);
if (ipa_ctx->ipa_pipes_down || ipa_ctx->pipes_down_in_progress) {
ipa_info("IPA WDI Pipes are already deactivated");
qdf_spin_unlock_bh(&ipa_ctx->enable_disable_lock);
ipa_info("IPA WDI Pipes are already deactivated");
return QDF_STATUS_E_ALREADY;
}
ipa_ctx->pipes_down_in_progress = true;