Quellcode durchsuchen

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 <[email protected]>
Depeng Shao vor 5 Jahren
Ursprung
Commit
99709eacd2
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      drivers/cam_isp/cam_isp_context.c

+ 1 - 0
drivers/cam_isp/cam_isp_context.c

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