From ebe8cb5e879f2c8b7353e74b878c9021a4cdfbfe Mon Sep 17 00:00:00 2001 From: Chandan Kumar Jha Date: Tue, 8 Dec 2020 11:32:33 +0530 Subject: [PATCH] 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 --- drivers/cam_isp/cam_isp_context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 94acea7e5ed9..80343c2957d2 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/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)