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

Commit e327f1f6 authored by Alok Pandey's avatar Alok Pandey Committed by ARCHANA MANGALARAM
Browse files

msm: camera: isp: clearing isp context entries for rdi_only_context



Due to stale entry of rdi_only_context, the initial state of non-rdi
state machine is wrongly selected if
1. The non-rdi session comes after rdi session and
2. non-rdi session acquires same context-id

Change-Id: Ib5fca57158ff08a610ef6854dee020b94f52b391
Signed-off-by: default avatarAlok Pandey <akumarpa@codeaurora.org>
parent 311ebe6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2541,6 +2541,8 @@ 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;
	ctx_isp->split_acquire = false;

	/*
	 * Ideally, we should never have any active request here.