Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8fa5623 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent ce18cf39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);