media: rockchip: isp: wrap mode first done don't send event

Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com>
Change-Id: I723ce7df449ae4020570e79990f671eb455ba55e
This commit is contained in:
Mingwei Yan
2023-12-19 09:58:29 +08:00
committed by Tao Huang
parent 8dc5855332
commit 3312d732ba
@@ -248,7 +248,8 @@ int rkisp_rockit_buf_done(struct rkisp_stream *stream, int cmd)
} else {
if (stream->ispdev->cap_dev.wrap_line &&
stream->id == RKISP_STREAM_MP) {
if (stream_cfg->is_discard || stream->ops->is_stream_stopped(stream))
if (dev->is_first_double || stream_cfg->is_discard ||
stream->ops->is_stream_stopped(stream))
return 0;
} else if (stream_cfg->dst_fps) {
if (!stream_cfg->is_discard && !stream->curr_buf) {