video: driver: treat sesion_open and session_close failure as fatal
do core_deinit for sesion_open and session_close failures, to handle recurring clock prepare failure. Change-Id: I1c305f9e6269f7176b8283dbe91712f9e31448f5 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
@@ -4032,7 +4032,7 @@ int msm_vidc_core_deinit(struct msm_vidc_core *core, bool force)
|
||||
/* unlink all sessions from core, if any */
|
||||
list_for_each_entry_safe(inst, dummy, &core->instances, list) {
|
||||
msm_vidc_change_inst_state(inst, MSM_VIDC_ERROR, __func__);
|
||||
list_del(&inst->list);
|
||||
list_del_init(&inst->list);
|
||||
}
|
||||
msm_vidc_change_core_state(core, MSM_VIDC_CORE_DEINIT, __func__);
|
||||
|
||||
|
Reference in New Issue
Block a user