Просмотр исходного кода

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 <[email protected]>
Gaurav Jindal 3 лет назад
Родитель
Сommit
bf02458248

+ 1 - 1
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);