|
@@ -3866,7 +3866,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;
|