@@ -8129,6 +8129,7 @@ static int cam_ife_mgr_start_hw(void *hw_mgr_priv, void *start_hw_args)
"SAFE SCM call failed:Check TZ/HYP dependency, ctx_idx: %u",
ctx->ctx_index);
rc = -EFAULT;
+ mutex_unlock(&g_ife_hw_mgr.ctx_mutex);
goto deinit_hw;
}