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>
このコミットが含まれているのは:
Chandan Kumar Jha
2023-06-27 19:03:27 +05:30
committed by Camera Software Integration
コミット 06420c01fc
2個のファイルの変更2行の追加2行の削除

ファイルの表示

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