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>
This commit is contained in:
Anand Ravi
2021-09-15 20:51:29 -07:00
父節點 d7eb296004
當前提交 0417e88967
共有 4 個文件被更改,包括 136 次插入60 次删除

查看文件

@@ -468,7 +468,7 @@ static int __cam_custom_ctx_flush_req(struct cam_context *ctx,
if (list_empty(req_list)) {
CAM_DBG(CAM_CUSTOM, "request list is empty");
if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_CANCEL_REQ) {
CAM_ERR(CAM_CUSTOM, "no request to cancel");
CAM_INFO(CAM_CUSTOM, "no request to cancel (req:%lld)", flush_req->req_id);
return -EINVAL;
} else {
return 0;