mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user