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: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
Depeng Shao
2019-09-02 23:24:07 +08:00
committed by Gerrit - the friendly Code Review server
szülő 19d814458b
commit 99709eacd2

Fájl megtekintése

@@ -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);