Browse Source

msm: camera: isp: Remove WARN_ON() from error case in buf done

This change prevents excessive logging. WARN_ON() prints
call stack which cause excessive logging in tasklet.
Removes WARN_ON() in error case where buf done irq for
a request exceeds actual number of out port.

CRs-Fixed: 2828453
Change-Id: I020cc74b73841e9599c4d1570829c6b086e768ec
Signed-off-by: Chandan Kumar Jha <[email protected]>
Chandan Kumar Jha 4 years ago
parent
commit
ebe8cb5e87
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/cam_isp/cam_isp_context.c

+ 0 - 1
drivers/cam_isp/cam_isp_context.c

@@ -1266,7 +1266,6 @@ static int __cam_isp_ctx_handle_buf_done_for_request_verify_addr(
 			"WARNING: req_id %lld num_acked %d > map_out %d, ctx %u",
 			req->request_id, req_isp->num_acked,
 			req_isp->num_fence_map_out, ctx->ctx_id);
-		WARN_ON(req_isp->num_acked > req_isp->num_fence_map_out);
 	}
 
 	if (req_isp->num_acked != req_isp->num_fence_map_out)