media: rockchip: isp: fix first frame abnormal

Change-Id: Ie0046cdca76064b11642accf57b303328787536b
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2021-11-12 14:07:27 +08:00
committed by Tao Huang
parent 675786af15
commit 67e2b460c0

View File

@@ -2229,7 +2229,7 @@ static void rkisp_global_update_mi(struct rkisp_device *dev)
if (dev->hw_dev->is_single) {
for (i = 0; i < RKISP_MAX_STREAM; i++) {
stream = &dev->cap_dev.stream[i];
if (stream->streaming && !stream->next_buf)
if (stream->streaming)
stream->ops->frame_end(stream);
}
}