media: rockchip: isp: fix sof event is not right

Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ia992a21b92282294f5702e79bfc5d5effb089180
This commit is contained in:
Hu Kejun
2020-04-27 21:32:38 +08:00
committed by Tao Huang
parent 9002395928
commit 25612c2f15
2 changed files with 1 additions and 2 deletions

View File

@@ -539,7 +539,7 @@ void rkisp_csi_sof(struct rkisp_device *dev, u8 id)
default:
return;
}
dev->csi_dev.filt_state[CSI_F_VS] = 1;
rkisp_isp_queue_event_sof(&dev->isp_sdev);
}

View File

@@ -2023,7 +2023,6 @@ void rkisp_isp_isr(unsigned int isp_mis,
/* filt v_sync when frame read back mode */
if (dev->csi_dev.filt_state[CSI_F_VS]) {
rkisp_stats_rdbk_enable(&dev->stats_vdev, true);
dev->csi_dev.filt_state[CSI_F_VS]--;
goto vs_skip;
}
if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) {