msm: camera: reqmgr: Correct log of applied req id
Correct log of applied req id in case the highest pd dev ranks last in send sequence. CRs-Fixed: 3198237 Change-Id: I5b12828e4dbf03c01b0b06bbcd21f384b7373333 Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
此提交包含在:
@@ -885,7 +885,7 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
|
||||
struct cam_req_mgr_connected_device **failed_dev)
|
||||
{
|
||||
int rc = 0, pd, i, idx;
|
||||
bool req_applied_to_min_pd = false;
|
||||
int64_t req_applied_to_min_pd = -1;
|
||||
struct cam_req_mgr_connected_device *dev = NULL;
|
||||
struct cam_req_mgr_apply_request apply_req;
|
||||
struct cam_req_mgr_link_evt_data evt_data;
|
||||
@@ -1089,7 +1089,7 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
|
||||
}
|
||||
|
||||
if (pd == link->min_delay)
|
||||
req_applied_to_min_pd = true;
|
||||
req_applied_to_min_pd = apply_req.request_id;
|
||||
|
||||
trace_cam_req_mgr_apply_request(link, &apply_req, dev);
|
||||
}
|
||||
@@ -1113,11 +1113,11 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
|
||||
memcpy(link->req.prev_apply_data, link->req.apply_data,
|
||||
CAM_PIPELINE_DELAY_MAX *
|
||||
sizeof(struct cam_req_mgr_apply));
|
||||
if (req_applied_to_min_pd) {
|
||||
if (req_applied_to_min_pd > 0) {
|
||||
link->open_req_cnt--;
|
||||
CAM_DBG(CAM_REQ,
|
||||
"Open_reqs: %u after successfully applying req:%d",
|
||||
link->open_req_cnt, apply_req.request_id);
|
||||
link->open_req_cnt, req_applied_to_min_pd);
|
||||
}
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者