Merge "msm: camera: ife: Always send stop immediately when stopping hw" into camera-kernel.lnx.4.0

This commit is contained in:
Camera Software Integration 2020-08-31 13:23:16 -07:00 • committed by Gerrit - the friendly Code Review server
commit 8fb208f634

View file

@ -5028,13 +5028,9 @@ static int __cam_isp_ctx_stop_dev_in_activated_unlock(
if (ctx_isp->hw_ctx) {
stop.ctxt_to_hw_map = ctx_isp->hw_ctx;
if (stop_cmd)
stop_isp.hw_stop_cmd =
CAM_ISP_HW_STOP_AT_FRAME_BOUNDARY;
else
stop_isp.hw_stop_cmd = CAM_ISP_HW_STOP_IMMEDIATELY;
stop_isp.hw_stop_cmd = CAM_ISP_HW_STOP_IMMEDIATELY;
stop_isp.stop_only = false;
stop.args = (void *) &stop_isp;
ctx->hw_mgr_intf->hw_stop(ctx->hw_mgr_intf->hw_mgr_priv,
&stop);