media: rockchip: vicap does not do a soft reset before capture raw

while online mode is running

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I023ad640be010b9d109458e6c755d251e9338294
This commit is contained in:
Zefa Chen
2022-08-08 17:40:50 +08:00
committed by Tao Huang
parent fb39bd5bec
commit 18279453cd

View File

@@ -7852,7 +7852,7 @@ void rkcif_enable_dma_capture(struct rkcif_stream *stream, bool is_only_enable)
RKCIF_YUV_ADDR_STATE_INIT,
stream->id);
}
} else {
} else if (stream->cur_stream_mode == RKCIF_STREAM_MODE_CAPTURE) {
if (mbus_cfg->type == V4L2_MBUS_CSI2_DPHY ||
mbus_cfg->type == V4L2_MBUS_CSI2_CPHY)
rkcif_write_register_or(cif_dev, CIF_REG_MIPI_LVDS_CTRL, 0x000A0000);