Selaa lähdekoodia

Merge "msm: camera: common: rate limit error log and enable few warning logs" into camera-kernel.lnx.7.0

Camera Software Integration 1 vuosi sitten
vanhempi
sitoutus
17e219436e

+ 1 - 1
drivers/cam_req_mgr/cam_req_mgr_core.c

@@ -4237,7 +4237,7 @@ static int cam_req_mgr_cb_notify_trigger(
 
 	link = cam_get_link_priv(trigger_data->link_hdl);
 	if (!link) {
-		CAM_DBG(CAM_CRM, "link ptr NULL %x", trigger_data->link_hdl);
+		CAM_WARN_RATE_LIMIT(CAM_CRM, "link ptr NULL %x", trigger_data->link_hdl);
 		rc = -EINVAL;
 		goto end;
 	}

+ 1 - 1
drivers/cam_req_mgr/cam_req_mgr_workq.c

@@ -157,7 +157,7 @@ int cam_req_mgr_workq_enqueue_task(struct crm_workq_task *task,
 	}
 	workq = (struct cam_req_mgr_core_workq *)task->parent;
 	if (!workq) {
-		CAM_DBG(CAM_CRM, "NULL workq pointer suspect mem corruption");
+		CAM_WARN_RATE_LIMIT(CAM_CRM, "NULL workq pointer suspect mem corruption");
 		return -EINVAL;
 	}