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

Commit c23b6688 authored by Venkat Chinta's avatar Venkat Chinta Committed by Pavan Kumar Chilamkurthi
Browse files

msm: camera: isp: Limit sof_in_epoch log to first frame



This change limits SOF in early PCR log to the first
frame for that context. This log is needed to catch
unexpected reg updates on first frame after stream on.

CRs-Fixed: 2553728
Change-Id: Icad85aeab2b095a6b95889c933a2de34acebed80
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
Signed-off-by: default avatarVishalsingh Hajeri <vhajeri@codeaurora.org>
Signed-off-by: default avatarPavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
parent cb1341b5
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1130,8 +1130,13 @@ static int __cam_isp_ctx_sof_in_epoch(struct cam_isp_context *ctx_isp,
			CAM_ISP_STATE_CHANGE_TRIGGER_SOF,
			req->request_id);

	if (ctx_isp->frame_id == 1)
		CAM_INFO(CAM_ISP,
			"First SOF in EPCR ctx:%d frame_id:%lld next substate %d",
			ctx->ctx_id, ctx_isp->frame_id,
			ctx_isp->substate_activated);

	CAM_DBG(CAM_ISP, "SOF in epoch ctx:%d frame_id:%lld next substate:%d",
		ctx->ctx_id, ctx_isp->frame_id, ctx_isp->substate_activated);

	return rc;