From 124ac14bf92ae092a23b6514b95cf45aa301fb7a Mon Sep 17 00:00:00 2001 From: zhuo Date: Fri, 19 Jun 2020 16:19:04 +0800 Subject: [PATCH] msm: camera: isp: Reset offline context flag This change resets the offline context flag, otherwise the packet may be applied to HW immediately if this context is offline context last time. CRs-Fixed: 2696977 Change-Id: I2fc836f7ba2889ec62273c3b12cc4050736f587b Signed-off-by: zhuo --- drivers/cam_isp/cam_isp_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cam_isp/cam_isp_context.c b/drivers/cam_isp/cam_isp_context.c index 7a189faeeda1..d9abaff11f82 100644 --- a/drivers/cam_isp/cam_isp_context.c +++ b/drivers/cam_isp/cam_isp_context.c @@ -3776,6 +3776,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->offline_context = false; ctx_isp->rdi_only_context = false; ctx_isp->req_info.last_bufdone_req_id = 0;