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

Commit 99709eac authored by Depeng Shao's avatar Depeng Shao Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Reset rdi only context flag



Reset rdi only context flag during releasing device,
otherwise it will affect non-rdi context at next time.

CRs-Fixed: 2519406
Change-Id: I904f0cae664a7530b2b85342c9a6daba579cbccc
Signed-off-by: default avatarDepeng Shao <depengs@codeaurora.org>
parent 19d81445
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2750,6 +2750,7 @@ static int __cam_isp_ctx_release_dev_in_top_state(struct cam_context *ctx,
	ctx_isp->reported_req_id = 0;
	ctx_isp->hw_acquired = false;
	ctx_isp->init_received = false;
	ctx_isp->rdi_only_context = false;

	atomic64_set(&ctx_isp->state_monitor_head, -1);