mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
media: rockchip: cif: fix lost frame when sof occurs twice at the same time
frm start int don't be set, current & next frame start occur simultaneously Signed-off-by: Allon Huang <allon.huang@rock-chips.com> Change-Id: I49f28a6d49e8a726f3f8a4c290444792a497876f
This commit is contained in:
@@ -1353,9 +1353,8 @@ static int rkcif_csi_channel_set(struct rkcif_stream *stream,
|
||||
CSI_DMA_END_INTSTAT(channel->id) |
|
||||
CSI_LINE_INTSTAT(channel->id)));
|
||||
|
||||
/* enable mipi id0 frame start int for sof(long frame) */
|
||||
if (dev->hdr.mode != NO_HDR &&
|
||||
channel->id == RKCIF_STREAM_MIPI_ID0)
|
||||
/* enable id0 frame start int for sof(long frame, for hdr) */
|
||||
if (channel->id == RKCIF_STREAM_MIPI_ID0)
|
||||
rkcif_write_register_or(dev, CIF_REG_MIPI_LVDS_INTEN,
|
||||
CSI_START_INTEN(channel->id));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user