diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 033888ccae..97e40c6c53 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -803,7 +803,7 @@ static int __cam_isp_ctx_notify_trigger_util( rc = ctx->ctx_crm_intf->notify_trigger(¬ify); 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, diff --git a/drivers/cam_req_mgr/cam_req_mgr_core.c b/drivers/cam_req_mgr/cam_req_mgr_core.c index 0e1a2c2cb5..04b5d66a7c 100644 --- a/drivers/cam_req_mgr/cam_req_mgr_core.c +++ b/drivers/cam_req_mgr/cam_req_mgr_core.c @@ -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;