mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "msm: camera: cci: Add back mutex on cci" into camera-kernel.lnx.4.0
This commit is contained in:
commit
4afd2d107d
1 changed files with 2 additions and 0 deletions
|
|
@ -1729,8 +1729,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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue