Merge "msm: cvp: Avoid releasing buffers during boot"

This commit is contained in:
qctecmdr 2020-04-11 13:28:32 -07:00 • committed by Gerrit - the friendly Code Review server
commit eef803ab52

View file

@ -457,10 +457,10 @@ int msm_cvp_close(void *instance)
return -EINVAL;
}
msm_cvp_cleanup_instance(inst);
if (inst->session_type != MSM_CVP_BOOT)
if (inst->session_type != MSM_CVP_BOOT) {
msm_cvp_cleanup_instance(inst);
msm_cvp_session_deinit(inst);
}
rc = msm_cvp_comm_try_state(inst, MSM_CVP_CORE_UNINIT);
if (rc) {