浏览代码

Merge "msm: camera: isp: Correct the condition for violation print loop" into camera-kernel.lnx.5.0

Camera Software Integration 3 年之前
父节点
当前提交
110420ce29
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c

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