Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d379444 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Check for epoch before applying" into camera-kernel.lnx.4.0

parents f480c039 4544e11e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1108,7 +1108,9 @@ static int __cam_isp_ctx_apply_req_offline(
		goto end;
	}

	if (ctx->state != CAM_CTX_ACTIVATED)
	if ((ctx->state != CAM_CTX_ACTIVATED) ||
		(!atomic_read(&ctx_isp->rxd_epoch)) ||
		(ctx_isp->substate_activated == CAM_ISP_CTX_ACTIVATED_APPLIED))
		goto end;

	if (ctx_isp->active_req_cnt >= 2)