diff options
author | Ramesh V <ramev@codeaurora.org> | 2017-05-03 18:34:17 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-10 22:32:14 -0700 |
commit | 62a7399ea9f3b1a08add94a71029e9cc155a820e (patch) | |
tree | 1873efcabb458903bf261057183767fe5d6491ce /drivers/media | |
parent | 3d82d66409abb91539bcb9d1f343fcb9d583f2b4 (diff) |
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 <ramev@codeaurora.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |