summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Kumar Aakulu <lkumar@codeaurora.org>2017-04-18 14:33:16 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-26 03:48:09 -0700
commit2fac5aa03466c405067cb9c19aa671f6280a53ce (patch)
treed4a0e1587c1468f40aa3df73efb6e0ee4b40a7e2
parent048c70075fecb8f92d923fc5595efa00f2a00082 (diff)
msm: camera: isp: Enable recovery for stats in out of sync case
When the stats go out of sync across the 2 VFEs, don't treat it as a fatal error but allow for recovery. Change-Id: I5ef16b3e823cec9698d3ee0627335653f13fd60d Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
-rw-r--r--drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.c
index f92c67150215..73068a615380 100644
--- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.c
+++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_stats_util.c
@@ -766,7 +766,7 @@ void msm_isp_process_stats_reg_upd_epoch_irq(struct vfe_device *vfe_dev,
spin_unlock_irqrestore(&stream_info->lock, flags);
if (-EFAULT == rc) {
msm_isp_halt_send_error(vfe_dev,
- ISP_EVENT_BUF_FATAL_ERROR);
+ ISP_EVENT_PING_PONG_MISMATCH);
return;
}
continue;