mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
msm: camera: cci: reset reinit completion on read
Reinit completion rd_done completion variable before each read so that the rd_done completion variable state will be clean . CRs-Fixed: 2736884 Change-Id: I2cd7350da8e8270c1cd9238dec0eec9f84360899 Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
This commit is contained in:
parent
9b8cae4b7c
commit
a6321e50af
1 changed files with 1 additions and 0 deletions
|
|
@ -1642,6 +1642,7 @@ static int32_t cam_cci_read_bytes_v_1_2(struct v4l2_subdev *sd,
|
|||
goto ERROR;
|
||||
}
|
||||
|
||||
reinit_completion(&cci_dev->cci_master_info[master].rd_done);
|
||||
read_bytes = read_cfg->num_byte;
|
||||
CAM_DBG(CAM_CCI, "Bytes to read %u", read_bytes);
|
||||
do {
|
||||
|
|
|
|||
Loading…
Reference in a new issue