mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "msm: cvp: Avoid releasing buffers during boot"
This commit is contained in:
commit
eef803ab52
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue