Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aec98b6b authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: cci: Fixed CCI Read timeout issue" into camera-kernel.lnx.1.0

parents 41f26e2a 945f45ef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1590,8 +1590,10 @@ static int32_t cam_cci_read_bytes(struct v4l2_subdev *sd,
	 * THRESHOLD irq's, we reinit the threshold wait before
	 * we load the burst read cmd.
	 */
	mutex_lock(&cci_dev->cci_master_info[master].mutex_q[QUEUE_1]);
	reinit_completion(&cci_dev->cci_master_info[master].rd_done);
	reinit_completion(&cci_dev->cci_master_info[master].th_complete);
	mutex_unlock(&cci_dev->cci_master_info[master].mutex_q[QUEUE_1]);

	CAM_DBG(CAM_CCI, "Bytes to read %u", read_bytes);
	do {