From b8fa5623704014f4ea68149afdfc184591592f68 Mon Sep 17 00:00:00 2001 From: Karthik Anantha Ram Date: Tue, 17 Nov 2020 11:47:11 -0800 Subject: [PATCH] msm: camera: isp: Update err type when notifying to HW MGR Currently violation in FULL IFE on IPP/PPP path is treated as overflow in HW_MGR. Update the err type correctly. CRs-Fixed: 2815428 Change-Id: I2bbcdca03afc5be48281c39c50ecb32342ad7fbe Signed-off-by: Karthik Anantha Ram --- .../isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.c index 2c215fbacc..03adaac749 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.c @@ -1487,6 +1487,7 @@ static int cam_vfe_camif_ver3_handle_irq_bottom_half(void *handler_priv, ts.tv_sec, ts.tv_nsec/1000); ret = CAM_VFE_IRQ_STATUS_OVERFLOW; + evt_info.err_type = CAM_VFE_IRQ_STATUS_OVERFLOW; CAM_INFO(CAM_ISP, "ife_clk_src:%lld", soc_private->ife_clk_src); @@ -1519,6 +1520,7 @@ static int cam_vfe_camif_ver3_handle_irq_bottom_half(void *handler_priv, ts.tv_sec, ts.tv_nsec/1000); ret = CAM_VFE_IRQ_STATUS_VIOLATION; + evt_info.err_type = CAM_VFE_IRQ_STATUS_VIOLATION; CAM_INFO(CAM_ISP, "ife_clk_src:%lld", soc_private->ife_clk_src);