소스 검색

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 5 년 전
부모
커밋
99709eacd2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);