소스 검색

Merge "msm: camera: cci: reset reinit completion on read" into camera-kernel.lnx.4.0

Haritha Chintalapati 5 년 전
부모
커밋
72d728b79b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/cam_sensor_module/cam_cci/cam_cci_core.c

+ 1 - 0
drivers/cam_sensor_module/cam_cci/cam_cci_core.c

@@ -1642,6 +1642,7 @@ static int32_t cam_cci_read_bytes_v_1_2(struct v4l2_subdev *sd,
 		goto ERROR;
 		goto ERROR;
 	}
 	}
 
 
+	reinit_completion(&cci_dev->cci_master_info[master].rd_done);
 	read_bytes = read_cfg->num_byte;
 	read_bytes = read_cfg->num_byte;
 	CAM_DBG(CAM_CCI, "Bytes to read %u", read_bytes);
 	CAM_DBG(CAM_CCI, "Bytes to read %u", read_bytes);
 	do {
 	do {