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

Commit eea03a17 authored by YUE CHEN's avatar YUE CHEN Committed by Gerrit - the friendly Code Review server
Browse files

msm: ais: ignore remain apply request id for pause



Need skip remian apply request id for pause which not be cleared,
until it matches the tip.

Change-Id: I268dcff1194c535953976482055b50409e1d606c
Signed-off-by: default avatarYUE CHEN <yueche@codeaurora.org>
parent 4f1b5e51
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1681,6 +1681,11 @@ static int __cam_isp_ctx_apply_req_in_activated_state(
		CAM_ERR_RATE_LIMIT(CAM_ISP,
			"Invalid Request Id asking %llu existing %llu",
			apply->request_id, req->request_id);
		if (ctx_isp->last_applied_req_id + 1 != req->request_id) {
			/*ignore remain mismatching apply req_id for pause*/
			ctx_isp->last_applied_req_id = apply->request_id;
			return rc;
		}
		rc = -EFAULT;
		goto end;
	}