Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1e18847 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: qdsp6v2: Fix for deadlock issue"

parents 609c8181 7ec65dcd
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -4579,7 +4579,9 @@ static int voc_disable_cvp(uint32_t session_id)
		ret = voice_send_disable_vocproc_cmd(v);
		if (ret < 0) {
			pr_err("%s:  disable vocproc failed\n", __func__);
			goto fail;

			mutex_unlock(&v->lock);
			goto done;
		}

		voice_send_cvp_deregister_vol_cal_cmd(v);
@@ -4588,10 +4590,12 @@ static int voc_disable_cvp(uint32_t session_id)

		v->voc_state = VOC_CHANGE;
	}
	mutex_unlock(&v->lock);

	if (common.ec_ref_ext)
		voc_set_ext_ec_ref(AFE_PORT_INVALID, false);
fail:	mutex_unlock(&v->lock);

done:
	return ret;
}