media: rockchip: vicap add soft reset before start stream

Change-Id: I29153568a978b2d5443568f52a7e3eb841575828
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
Zefa Chen
2025-04-24 19:46:46 +08:00
committed by 陈泽发
parent 77e9245280
commit f3ae0fd773

View File

@@ -4822,6 +4822,7 @@ static int rkcif_csi_channel_set_v1(struct rkcif_stream *stream,
rkcif_write_register_or(dev, CIF_REG_MIPI_LVDS_INTEN,
CSI_ALL_ERROR_INTEN_V1);
rkcif_do_soft_reset(dev);
}
#if IS_ENABLED(CONFIG_CPU_RV1106)
if (channel->id == 1)
@@ -5094,6 +5095,7 @@ static int rkcif_csi_channel_set_rv1126b(struct rkcif_stream *stream,
rkcif_write_register_or(dev, CIF_REG_MIPI_LVDS_INTEN,
CSI_ALL_ERROR_INTEN_V1);
rkcif_do_soft_reset(dev);
}
if (capture_info->mode == RKMODULE_MULTI_DEV_COMBINE_ONE &&