Merge "msm: camera: reqmgr: add trace log for separating multi camera" into camera-kernel.lnx.5.0

This commit is contained in:
Camera Software Integration
2021-04-28 21:19:52 -07:00
committed by Gerrit - the friendly Code Review server
6 changed files with 35 additions and 21 deletions

View File

@@ -297,7 +297,7 @@ int32_t cam_actuator_apply_request(struct cam_req_mgr_apply_request *apply)
}
request_id = apply->request_id % MAX_PER_FRAME_ARRAY;
trace_cam_apply_req("Actuator", apply->request_id);
trace_cam_apply_req("Actuator", a_ctrl->soc_info.index, apply->request_id, apply->link_hdl);
CAM_DBG(CAM_ACTUATOR, "Request Id: %lld", apply->request_id);
mutex_lock(&(a_ctrl->actuator_mutex));

View File

@@ -1524,7 +1524,7 @@ int32_t cam_sensor_apply_request(struct cam_req_mgr_apply_request *apply)
CAM_DBG(CAM_REQ, " Sensor[%d] update req id: %lld",
s_ctrl->soc_info.index, apply->request_id);
trace_cam_apply_req("Sensor", apply->request_id);
trace_cam_apply_req("Sensor", s_ctrl->soc_info.index, apply->request_id, apply->link_hdl);
mutex_lock(&(s_ctrl->cam_sensor_mutex));
rc = cam_sensor_apply_settings(s_ctrl, apply->request_id,
opcode);