msm: camera: isp: Change error print into rate limit logs
Changing error logs into rate limit logs to avoid excessive logging. CRs-Fixed: 3522504 Change-Id: I773fbdc1ae0cc38dd7b6793381c266a47f9bc93d Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
Tento commit je obsažen v:

odevzdal
Camera Software Integration

rodič
77c1ce29af
revize
06420c01fc
@@ -803,7 +803,7 @@ static int __cam_isp_ctx_notify_trigger_util(
|
|||||||
|
|
||||||
rc = ctx->ctx_crm_intf->notify_trigger(¬ify);
|
rc = ctx->ctx_crm_intf->notify_trigger(¬ify);
|
||||||
if (rc)
|
if (rc)
|
||||||
CAM_ERR(CAM_ISP,
|
CAM_ERR_RATE_LIMIT(CAM_ISP,
|
||||||
"Failed to notify CRM %s on frame: %llu ctx: %u link: 0x%x last_buf_done_req: %lld rc: %d",
|
"Failed to notify CRM %s on frame: %llu ctx: %u link: 0x%x last_buf_done_req: %lld rc: %d",
|
||||||
__cam_isp_ctx_crm_trigger_point_to_string(trigger_type),
|
__cam_isp_ctx_crm_trigger_point_to_string(trigger_type),
|
||||||
ctx_isp->frame_id, ctx->ctx_id, ctx->link_hdl,
|
ctx_isp->frame_id, ctx->ctx_id, ctx->link_hdl,
|
||||||
|
@@ -4257,7 +4257,7 @@ static int cam_req_mgr_cb_notify_trigger(
|
|||||||
|
|
||||||
spin_lock_bh(&link->link_state_spin_lock);
|
spin_lock_bh(&link->link_state_spin_lock);
|
||||||
if (link->state < CAM_CRM_LINK_STATE_READY) {
|
if (link->state < CAM_CRM_LINK_STATE_READY) {
|
||||||
CAM_WARN(CAM_CRM, "invalid link state:%d", link->state);
|
CAM_WARN_RATE_LIMIT(CAM_CRM, "invalid link state:%d", link->state);
|
||||||
spin_unlock_bh(&link->link_state_spin_lock);
|
spin_unlock_bh(&link->link_state_spin_lock);
|
||||||
rc = -EPERM;
|
rc = -EPERM;
|
||||||
goto end;
|
goto end;
|
||||||
|
Odkázat v novém úkolu
Zablokovat Uživatele