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

Commit 002ee55e authored by Om Parkash's avatar Om Parkash
Browse files

msm: camera: Allow applying request if congestion comes



Sometimes, due to DDR write delays, bufdone gets delyed.
It affect applying new request. This change allow applying
request if congestion comes.

Change-Id: I064d88588f7de68737aec143bd5d3ea5adbc9da6
Signed-off-by: default avatarOm Parkash <oparkash@codeaurora.org>
parent 6dd66723
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2088,7 +2088,7 @@ static int __cam_isp_ctx_apply_req_in_activated_state(
		req->request_id, ctx_isp->substate_activated, ctx->ctx_id);
	req_isp = (struct cam_isp_ctx_req *) req->req_priv;

	if (ctx_isp->active_req_cnt >=  2) {
	if (ctx_isp->active_req_cnt >=  4) {
		CAM_ERR_RATE_LIMIT(CAM_ISP,
			"Reject apply request (id %lld) due to congestion(cnt = %d) ctx %u",
			req->request_id,