소스 검색

msm: camera: tfe: initialise the flush and error dump id to max value

In case of error reported on req 0, regdump not triggering since
last dump err req id default value is 0.
Hence initialising with max value of uint64_t.

CRs-Fixed: 3503342
Change-Id: If370da47d824efbf881e6560cea27efa9d6a6c0d
Signed-off-by: Pranav Sanwal <[email protected]>
Pranav Sanwal 2 년 전
부모
커밋
b75f2bf506
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c

+ 2 - 0
drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c

@@ -3635,6 +3635,8 @@ start_only:
 		}
 	}
 
+	ctx->last_dump_flush_req_id = U64_MAX;
+	ctx->last_dump_err_req_id = U64_MAX;
 	return 0;
 
 err: