media: rockchip: vicap fixes rdbk buffer not send to isp with single frame mode

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Idd4e5994a094ed39a5a6f948f57f813b5702f8f8
This commit is contained in:
Zefa Chen
2023-12-25 15:51:33 +08:00
parent 3456ecfd23
commit e917db0dd7
@@ -2096,6 +2096,8 @@ static int rkcif_assign_new_buffer_update_toisp(struct rkcif_stream *stream,
(u32)stream->next_buf_toisp->dummy.dma_addr);
} else {
stream->toisp_buf_state.state = RKCIF_TOISP_BUF_LOSS;
if (stream->is_single_cap)
active_buf = stream->curr_buf_toisp;
}
if (active_buf) {