Merge "qcacmn: Don't destroy uncreated completion_freeq_lock"

Cette révision appartient à :
Linux Build Service Account
2020-05-26 04:40:45 -07:00
révisé par Gerrit - the friendly Code Review server
révision b1cd82186a

Voir le fichier

@@ -2799,7 +2799,8 @@ void hif_ce_stop(struct hif_softc *scn)
pipe_info = &hif_state->pipe_info[pipe_num];
if (pipe_info->ce_hdl) {
if (pipe_info->ce_hdl != ce_diag) {
if (pipe_info->ce_hdl != ce_diag &&
hif_state->started) {
attr = hif_state->host_ce_config[pipe_num];
if (attr.src_nentries)
qdf_spinlock_destroy(&pipe_info->