From 6103984425372d73f6b3dce5fba766d729b763a5 Mon Sep 17 00:00:00 2001 From: Depeng Shao Date: Tue, 3 Nov 2020 12:48:53 +0800 Subject: [PATCH] msm: camera: isp: Add trigger id for EOF event When we do flash operation in SHDR usecase, the trigger count will mismatch if we don't pass trigger id to CRM. CRs-Fixed: 2813321 Change-Id: Ic557f1122f8698f987d249fe1d15e35b90326e1d Signed-off-by: Depeng Shao --- drivers/cam_isp/cam_isp_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 890520c78e19..6c4a6ac969b8 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -1631,6 +1631,7 @@ static int __cam_isp_ctx_notify_eof_in_activated_state( notify.dev_hdl = ctx->dev_hdl; notify.frame_id = ctx_isp->frame_id; notify.trigger = CAM_TRIGGER_POINT_EOF; + notify.trigger_id = ctx_isp->trigger_id; ctx->ctx_crm_intf->notify_trigger(¬ify); CAM_DBG(CAM_ISP, "Notify CRM EOF frame %lld ctx %u",