فهرست منبع

msm: camera: ife: Add event count in error log

This change adds event count in the error log that is printed
when difference between the counts for the two full IFEs is
greater than one in dual IFE mode.

CRs-Fixed: 2513939
Change-Id: I4346406f36eae72e55f07bdb185a7f85566a4f37
Signed-off-by: Venkat Chinta <[email protected]>
Venkat Chinta 5 سال پیش
والد
کامیت
e8bc3c7cbc
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 3 - 2
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -6182,8 +6182,9 @@ static int cam_ife_hw_mgr_check_irq_for_dual_vfe(
 		(event_cnt[core_idx1] - event_cnt[core_idx0] > 1))) {
 
 		CAM_ERR_RATE_LIMIT(CAM_ISP,
-			"One of the VFE could not generate hw event %d",
-			hw_event_type);
+			"One of the VFE could not generate hw event %d core_0_cnt %d core_1_cnt %d",
+			hw_event_type, event_cnt[core_idx0],
+			event_cnt[core_idx1]);
 		rc = -1;
 		return rc;
 	}