Merge "msm: camera: isp: Release mutex in case of error" into camera-kernel.lnx.7.0
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
d15a414b70
@@ -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",
|
"SAFE SCM call failed:Check TZ/HYP dependency, ctx_idx: %u",
|
||||||
ctx->ctx_index);
|
ctx->ctx_index);
|
||||||
rc = -EFAULT;
|
rc = -EFAULT;
|
||||||
|
mutex_unlock(&g_ife_hw_mgr.ctx_mutex);
|
||||||
goto deinit_hw;
|
goto deinit_hw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user