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