From 62a7399ea9f3b1a08add94a71029e9cc155a820e Mon Sep 17 00:00:00 2001 From: Ramesh V Date: Wed, 3 May 2017 18:34:17 +0530 Subject: msm: camera: isp: Fix excessive logging in w+t In w+t mode when frames are out of sync, in ISP we are dumping the stack, if frames goes out of sync continiously then it can lead to watchdog. To fix this removed warn_on code. Change-Id: I01a1133bf5c20db38fd73bea8d86ff53d312f42c Signed-off-by: Ramesh V --- drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/media') diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c index 63e46125c292..558e0e066574 100644 --- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c +++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c @@ -841,7 +841,6 @@ static void msm_isp_sync_dual_cam_frame_id( } } - WARN_ON(ms_res->dual_sync_mode == MSM_ISP_DUAL_CAM_ASYNC); /* find highest frame id */ for (i = 0; i < MAX_VFE * VFE_SRC_MAX; i++) { if (ms_res->src_info[i] == NULL) @@ -915,7 +914,7 @@ void msm_isp_increment_frame_id(struct vfe_device *vfe_dev, */ if (ms_res->src_sof_mask & (1 << src_info->dual_hw_ms_info.index)) { - pr_err("Frame out of sync on vfe %d\n", + pr_err_ratelimited("Frame out of sync on vfe %d\n", vfe_dev->pdev->id); /* * set this isp as async mode to force -- cgit v1.2.3