From bf02458248e82ea36bf110eecee7684a607b5d5c Mon Sep 17 00:00:00 2001 From: Gaurav Jindal Date: Wed, 25 Aug 2021 11:02:26 +0530 Subject: [PATCH] msm: camera: isp: Correct the condition for violation print loop This commit changes the termination condition while printing the violation in IFE. Current condition results in infinite loop. Change-Id: Id1d1d0dbffa3e3a8065745aebe7aa35f5d2ce52e CRs-Fixed: 3020683 Signed-off-by: Gaurav Jindal --- .../cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c index b6efaa20de..e07f3fb149 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c @@ -425,7 +425,7 @@ static int cam_vfe_top_ver4_print_overflow_debug_info( i = 0; tmp = violation_status; - while (violation_status) { + while (tmp) { if (tmp & 0x1) CAM_ERR_RATE_LIMIT(CAM_ISP, "VFE[%d] Bus Violation %s", soc_info->index, common_data->hw_info->wr_client_desc[i].desc);