Revert "msm: camera: isp: Fix frame drop pattern"

This reverts commit cc4d1a6cb1.
This commit is contained in:
codeworkx 2019-08-10 14:20:12 +02:00
parent f6334e63fa
commit 4b5255f5eb

View file

@ -588,8 +588,7 @@ static int msm_isp_composite_irq(struct vfe_device *vfe_dev,
*
* Returns void
*/
static void msm_isp_update_framedrop_reg(struct msm_vfe_axi_stream *stream_info,
uint32_t drop_reconfig)
static void msm_isp_update_framedrop_reg(struct msm_vfe_axi_stream *stream_info)
{
if (stream_info->stream_type == BURST_STREAM) {
if (stream_info->runtime_num_burst_capture == 0 ||
@ -599,8 +598,7 @@ static void msm_isp_update_framedrop_reg(struct msm_vfe_axi_stream *stream_info,
MSM_VFE_STREAM_STOP_PERIOD;
}
if (stream_info->undelivered_request_cnt > 0 &&
drop_reconfig != 1)
if (stream_info->undelivered_request_cnt > 0)
stream_info->current_framedrop_period =
MSM_VFE_STREAM_STOP_PERIOD;
@ -655,8 +653,7 @@ void msm_isp_process_reg_upd_epoch_irq(struct vfe_device *vfe_dev,
break;
case MSM_ISP_COMP_IRQ_EPOCH:
if (stream_info->state == ACTIVE)
msm_isp_update_framedrop_reg(stream_info,
vfe_dev->isp_page->drop_reconfig);
msm_isp_update_framedrop_reg(stream_info);
break;
default:
WARN(1, "Invalid irq %d\n", irq);