Loading drivers/cam_isp/cam_isp_context.c +11 −6 Original line number Diff line number Diff line Loading @@ -3520,6 +3520,17 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx, CAM_ISP_STATE_CHANGE_TRIGGER_FLUSH, req->request_id); } if (list_empty(&flush_list)) { /* * Maybe the req isn't sent to KMD since UMD already skip * req in CSL layer. */ CAM_INFO(CAM_ISP, "flush list is empty, flush type %d for req %llu", flush_req->type, flush_req->req_id); return 0; } list_for_each_entry_safe(req, req_temp, &flush_list, list) { req_isp = (struct cam_isp_ctx_req *) req->req_priv; for (i = 0; i < req_isp->num_fence_map_out; i++) { Loading @@ -3545,12 +3556,6 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx, list_add_tail(&req->list, &ctx->free_req_list); } if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_CANCEL_REQ && !cancel_req_id_found) CAM_DBG(CAM_ISP, "Flush request id:%lld is not found in the list", flush_req->req_id); return 0; } Loading Loading
drivers/cam_isp/cam_isp_context.c +11 −6 Original line number Diff line number Diff line Loading @@ -3520,6 +3520,17 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx, CAM_ISP_STATE_CHANGE_TRIGGER_FLUSH, req->request_id); } if (list_empty(&flush_list)) { /* * Maybe the req isn't sent to KMD since UMD already skip * req in CSL layer. */ CAM_INFO(CAM_ISP, "flush list is empty, flush type %d for req %llu", flush_req->type, flush_req->req_id); return 0; } list_for_each_entry_safe(req, req_temp, &flush_list, list) { req_isp = (struct cam_isp_ctx_req *) req->req_priv; for (i = 0; i < req_isp->num_fence_map_out; i++) { Loading @@ -3545,12 +3556,6 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx, list_add_tail(&req->list, &ctx->free_req_list); } if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_CANCEL_REQ && !cancel_req_id_found) CAM_DBG(CAM_ISP, "Flush request id:%lld is not found in the list", flush_req->req_id); return 0; } Loading