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:
Chandan Kumar Jha
2023-06-27 19:03:27 +05:30
odevzdal Camera Software Integration
rodič 77c1ce29af
revize 06420c01fc
2 změnil soubory, kde provedl 2 přidání a 2 odebrání

Zobrazit soubor

@@ -803,7 +803,7 @@ static int __cam_isp_ctx_notify_trigger_util(
rc = ctx->ctx_crm_intf->notify_trigger(&notify); rc = ctx->ctx_crm_intf->notify_trigger(&notify);
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,

Zobrazit soubor

@@ -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;