msm: camera: req_mgr: Allow request cancellation if not applied to IFE
Since we don't wait for requests to be ready on lower pd devices before applying request on higher pd devices, add provision to cancel request if it has not been applied on IFE. CRs-Fixed: 3014942 Change-Id: I8850b0dfe3f88e04b86f7bb6b597657ad7e0a4f9 Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
这个提交包含在:
@@ -3753,7 +3753,8 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx,
|
||||
if (list_empty(req_list)) {
|
||||
CAM_DBG(CAM_ISP, "request list is empty");
|
||||
if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_CANCEL_REQ) {
|
||||
CAM_ERR(CAM_ISP, "no request to cancel");
|
||||
CAM_INFO(CAM_ISP, "no request to cancel (last applied:%lld cancel:%lld)",
|
||||
ctx_isp->last_applied_req_id, flush_req->req_id);
|
||||
return -EINVAL;
|
||||
} else
|
||||
return 0;
|
||||
|
在新工单中引用
屏蔽一个用户