media: rockchip: vicap fixes error of group sync

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I6b178ceab2b9a0d6cb102a0ea6db795916afad3c
This commit is contained in:
Zefa Chen
2024-11-19 19:33:57 +08:00
committed by Tao Huang
parent ad93efc38d
commit b7d7acb5c8

View File

@@ -13360,7 +13360,7 @@ static bool rkcif_check_buffer_prepare(struct rkcif_stream *stream)
sync_config->update_code & BIT(cif_dev->csi_host_idx)) {
is_update = true;
sync_config->update_code &= ~(BIT(cif_dev->csi_host_idx));
} else {
} else if (stream->id != 0) {
if ((stream->dma_en & RKCIF_DMAEN_BY_ISP && cif_dev->rdbk_rx_buf[RDBK_L]) ||
(stream->dma_en & RKCIF_DMAEN_BY_VICAP && cif_dev->rdbk_buf[RDBK_L]))
is_update = true;