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 <depengs@codeaurora.org>
This commit is contained in:
Depeng Shao
2020-11-03 12:48:53 +08:00
parent cdb34b148c
commit 6103984425

View File

@@ -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(&notify);
CAM_DBG(CAM_ISP, "Notify CRM EOF frame %lld ctx %u",