Browse Source

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 <[email protected]>
Depeng Shao 4 years ago
parent
commit
6103984425
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/cam_isp/cam_isp_context.c

+ 1 - 0
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.dev_hdl = ctx->dev_hdl;
 		notify.frame_id = ctx_isp->frame_id;
 		notify.frame_id = ctx_isp->frame_id;
 		notify.trigger = CAM_TRIGGER_POINT_EOF;
 		notify.trigger = CAM_TRIGGER_POINT_EOF;
+		notify.trigger_id = ctx_isp->trigger_id;
 
 
 		ctx->ctx_crm_intf->notify_trigger(&notify);
 		ctx->ctx_crm_intf->notify_trigger(&notify);
 		CAM_DBG(CAM_ISP, "Notify CRM EOF frame %lld ctx %u",
 		CAM_DBG(CAM_ISP, "Notify CRM EOF frame %lld ctx %u",