From e8bc3c7cbca4ce790fdc8171d63e1a658cdda8c6 Mon Sep 17 00:00:00 2001 From: Venkat Chinta Date: Wed, 28 Aug 2019 16:05:02 -0700 Subject: [PATCH] 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 --- drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c b/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c index 708390b72db8..ad07052d7345 100644 --- a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c +++ b/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; }