Merge "msm: camera: isp: fixes incorrect RDI empty frame handling"

This commit is contained in:
Linux Build Service Account 2017-07-06 12:32:04 -07:00 committed by Gerrit - the friendly Code Review server
commit 1d1ab31d0a
2 changed files with 4 additions and 1 deletions

View file

@ -3446,7 +3446,7 @@ static int msm_isp_request_frame(struct vfe_device *vfe_dev,
}
if ((vfe_dev->axi_data.src_info[frame_src].active && (frame_id !=
vfe_dev->axi_data.src_info[frame_src].frame_id + vfe_dev->
axi_data.src_info[VFE_PIX_0].sof_counter_step)) ||
axi_data.src_info[frame_src].sof_counter_step)) ||
((!vfe_dev->axi_data.src_info[frame_src].active))) {
pr_debug("%s:%d invalid frame id %d cur frame id %d pix %d\n",
__func__, __LINE__, frame_id,

View file

@ -511,6 +511,9 @@ static int msm_isp_cfg_rdi(struct vfe_device *vfe_dev,
return -EINVAL;
}
vfe_dev->axi_data.
src_info[input_cfg->input_src].sof_counter_step = 1;
vfe_dev->axi_data.src_info[input_cfg->input_src].pixel_clock =
input_cfg->input_pix_clk;
vfe_dev->hw_info->vfe_ops.core_ops.cfg_rdi_reg(