media: rockchip: isp: fix mipi drop when isp capture after vpss start

if isp state  already START add scale auto update at frame end

Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com>
Change-Id: I84d63afb87100072a16d69951e635e78c87f9b2c
This commit is contained in:
Mingwei Yan
2024-12-16 16:27:18 +08:00
committed by Tao Huang
parent ad942c1534
commit 31f3e5a5bb

View File

@@ -1423,16 +1423,13 @@ static int rkisp_stream_start(struct rkisp_stream *stream)
{
struct rkisp_device *dev = stream->ispdev;
struct v4l2_device *v4l2_dev = &dev->v4l2_dev;
bool async = false;
bool async = (dev->isp_state & ISP_STOP) ? false : true;
int ret;
stream->need_scl_upd = false;
if (stream->id == RKISP_STREAM_LDC)
goto skip;
async = (dev->cap_dev.stream[RKISP_STREAM_MP].streaming ||
dev->cap_dev.stream[RKISP_STREAM_SP].streaming);
/*
* can't be async now, otherwise the latter started stream fails to
* produce mi interrupt.