msm: camera: isp: Fix drop frame due to reg update miss
In few scenarios, where the register update ioctl is missed, the handling of frame drop is not working in such scenarios as the frame drop pattern is not set correctly. Once the epoch handling is done, we need to re-configure the buffer and pattern. Change-Id: I87b2cecda7e7e1addc68511dad6a80498051f87a Signed-off-by: Meera Gande <mgande@codeaurora.org>
This commit is contained in:
parent
df805abc50
commit
8d4b7f9a0e
1 changed files with 1 additions and 1 deletions
|
@ -752,13 +752,13 @@ static void msm_vfe40_process_epoch_irq(struct vfe_device *vfe_dev,
|
|||
return;
|
||||
|
||||
if (irq_status0 & BIT(2)) {
|
||||
msm_isp_notify(vfe_dev, ISP_EVENT_SOF, VFE_PIX_0, ts);
|
||||
ISP_DBG("%s: EPOCH0 IRQ\n", __func__);
|
||||
msm_isp_process_reg_upd_epoch_irq(vfe_dev, VFE_PIX_0,
|
||||
MSM_ISP_COMP_IRQ_EPOCH, ts);
|
||||
msm_isp_process_stats_reg_upd_epoch_irq(vfe_dev,
|
||||
MSM_ISP_COMP_IRQ_EPOCH);
|
||||
msm_isp_update_error_frame_count(vfe_dev);
|
||||
msm_isp_notify(vfe_dev, ISP_EVENT_SOF, VFE_PIX_0, ts);
|
||||
if (vfe_dev->axi_data.src_info[VFE_PIX_0].raw_stream_count > 0
|
||||
&& vfe_dev->axi_data.src_info[VFE_PIX_0].
|
||||
stream_count == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue